From d53a1842df75e3f7bb76d4ea30268f49c47c6e74 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 14 Apr 2003 05:57:27 +0000 Subject: [PATCH] Fixed moduleof command. --- src/MiscCommands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MiscCommands.py b/src/MiscCommands.py index 42828fddc..4193dba24 100755 --- a/src/MiscCommands.py +++ b/src/MiscCommands.py @@ -182,9 +182,9 @@ class MiscCommands(callbacks.Privmsg): Returns the module is in. """ command = privmsgs.getArgs(args) - method = irc.findCallback(command) + Class = irc.findCallback(command) if method is not None: - irc.reply(msg, method.im_class.__name__) + irc.reply(msg, Class.__name__) else: irc.error(msg, 'There is no such command %s' % command)