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