From 556f9ccaeb481eb8e10ecb8de2d4c1d63a3a40e2 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 16 Sep 2004 16:36:12 +0000 Subject: [PATCH] Fixed help for plugins. --- src/Misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Misc.py b/src/Misc.py index 936c191e8..c24c33a5f 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -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)