Changed moduleof to use the canonicalName of the command.

This commit is contained in:
Jeremy Fincher 2003-06-18 06:05:33 +00:00
parent a44ecb4aa0
commit 5c0ae0ecbf

View File

@ -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())