From d4ee42df5e1a785c5932bd418cbc0c17cf05ae2c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 14 Apr 2003 05:58:43 +0000 Subject: [PATCH] Fixed moduleof command. --- src/MiscCommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiscCommands.py b/src/MiscCommands.py index 4193dba24..f93fbcdbd 100755 --- a/src/MiscCommands.py +++ b/src/MiscCommands.py @@ -183,7 +183,7 @@ class MiscCommands(callbacks.Privmsg): """ command = privmsgs.getArgs(args) Class = irc.findCallback(command) - if method is not None: + if Class is not None: irc.reply(msg, Class.__name__) else: irc.error(msg, 'There is no such command %s' % command)