mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Fixed moduleof command.
This commit is contained in:
parent
d4ee42df5e
commit
2230149cf0
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user