From c3c5ea71bcc3e52f5bc9cc61f51334ec49ce38b5 Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 11 Oct 2004 17:30:20 +0000 Subject: [PATCH] Add a couple more Raise=True. --- src/Channel.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Channel.py b/src/Channel.py index 646812df7..8f0c83899 100755 --- a/src/Channel.py +++ b/src/Channel.py @@ -520,7 +520,7 @@ class Channel(callbacks.Privmsg): id = ircdb.users.getUserId(hostmask) user = ircdb.users.getUser(id) except KeyError: - irc.errorNoUser() + irc.errorNoUser(Raise=True) for c in capabilities.split(): c = ircdb.makeChannelCapability(channel, c) user.addCapability(c) @@ -540,8 +540,7 @@ class Channel(callbacks.Privmsg): try: id = ircdb.users.getUserId(hostmask) except KeyError: - irc.errorNoUser() - return + irc.errorNoUser(Raise=True) user = ircdb.users.getUser(id) fail = [] for c in capabilities.split():