mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +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)
|
self._original(irc, msg, args)
|
||||||
else:
|
else:
|
||||||
cb = irc.getCallback('Misc')
|
cb = irc.getCallback('Misc')
|
||||||
cb.help(irc, msg, [self.name()])
|
if cb is not None:
|
||||||
|
cb.help(irc, msg, [self.name()])
|
||||||
if args:
|
if args:
|
||||||
name = canonicalName(args[0])
|
name = canonicalName(args[0])
|
||||||
if name == canonicalName(self.name()):
|
if name == canonicalName(self.name()):
|
||||||
|
Loading…
Reference in New Issue
Block a user