Fixed moduleof command.

This commit is contained in:
Jeremy Fincher 2003-04-14 05:59:41 +00:00
parent d4ee42df5e
commit 2230149cf0
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class MiscCommands(callbacks.Privmsg):
command = privmsgs.getArgs(args)
Class = irc.findCallback(command)
if Class is not None:
irc.reply(msg, Class.__name__)
irc.reply(msg, Class.__class__.__name__)
else:
irc.error(msg, 'There is no such command %s' % command)