Fixed moduleof command.

This commit is contained in:
Jeremy Fincher 2003-04-14 05:58:43 +00:00
parent d53a1842df
commit d4ee42df5e

View File

@ -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)