mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
It's possible that the Misc plugin isn't loaded.
This commit is contained in:
parent
7a65e937b4
commit
162456108e
@ -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()):
|
||||
|
Loading…
Reference in New Issue
Block a user