mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 14:10:41 +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.
|
Returns the module <command> is in.
|
||||||
"""
|
"""
|
||||||
command = privmsgs.getArgs(args)
|
command = callbacks.canonicalName(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.name())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user