It's possible that the Misc plugin isn't loaded.

This commit is contained in:
Jeremy Fincher 2004-08-16 20:03:11 +00:00
parent 7a65e937b4
commit 162456108e
1 changed files with 2 additions and 1 deletions

View File

@ -841,7 +841,8 @@ class Privmsg(irclib.IrcCallback):
self._original(irc, msg, args)
else:
cb = irc.getCallback('Misc')
cb.help(irc, msg, [self.name()])
if cb is not None:
cb.help(irc, msg, [self.name()])
if args:
name = canonicalName(args[0])
if name == canonicalName(self.name()):