From c5e48d574fe1b85cc99aba5719f0724b07fa417c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 10 Dec 2004 07:03:53 +0000 Subject: [PATCH] Indentation change. --- src/callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index d071ccb1e..ee9ea9c66 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -901,7 +901,7 @@ class IrcObjectProxy(RichReplyMethods): else: if self.commandMethod is not None: # We can recurse here because it only gets called once. - return self.error(formatArgumentError(self.commandMethod), + return self.reply(formatArgumentError(self.commandMethod), **kwargs) else: raise ArgumentError # We shouldn't get here, but just in case. @@ -1108,7 +1108,7 @@ class Privmsg(irclib.IrcCallback): """Gets the given command from this plugin.""" name = canonicalName(name) assert self.isCommand(name), '%s is not a command.' % \ - utils.quoted(name) + utils.quoted(name) return getattr(self, name) def callCommand(self, name, irc, msg, *L, **kwargs):