mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 16:12:42 +01:00
Fixed help for plugins.
This commit is contained in:
parent
904665cea6
commit
556f9ccaeb
@ -239,7 +239,7 @@ class Misc(callbacks.Privmsg):
|
||||
return
|
||||
name = privmsgs.getArgs(args)
|
||||
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__))
|
||||
return
|
||||
command = callbacks.canonicalName(name)
|
||||
|
Loading…
Reference in New Issue
Block a user