mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Changed moduleof to use the canonicalName of the command.
This commit is contained in:
parent
a44ecb4aa0
commit
5c0ae0ecbf
@ -189,7 +189,7 @@ class MiscCommands(callbacks.Privmsg):
|
||||
|
||||
Returns the module <command> is in.
|
||||
"""
|
||||
command = privmsgs.getArgs(args)
|
||||
command = callbacks.canonicalName(privmsgs.getArgs(args))
|
||||
Class = irc.findCallback(command)
|
||||
if Class is not None:
|
||||
irc.reply(msg, Class.name())
|
||||
|
Loading…
Reference in New Issue
Block a user