Fixed help for plugins.

This commit is contained in:
Jeremy Fincher 2004-09-16 16:36:12 +00:00
parent 904665cea6
commit 556f9ccaeb

View File

@ -239,7 +239,7 @@ class Misc(callbacks.Privmsg):
return return
name = privmsgs.getArgs(args) name = privmsgs.getArgs(args)
cb = irc.getCallback(name) cb = irc.getCallback(name)
if cb is not None and cb.__doc__ and not hasattr(cb, '_original'): if cb is not None and cb.__doc__ and not getattr(cb,'_original',None):
irc.reply(utils.normalizeWhitespace(cb.__doc__)) irc.reply(utils.normalizeWhitespace(cb.__doc__))
return return
command = callbacks.canonicalName(name) command = callbacks.canonicalName(name)