Fixed moduleof command.

This commit is contained in:
Jeremy Fincher 2003-04-14 05:59:41 +00:00
parent d4ee42df5e
commit 2230149cf0

View File

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