mirror of https://github.com/Mikaela/Limnoria.git
Extra backup for something I can't remember what now.
This commit is contained in:
parent
cedcad32e2
commit
1f90a8ae54
|
@ -1056,9 +1056,11 @@ class Privmsg(irclib.IrcCallback):
|
||||||
if self._original:
|
if self._original:
|
||||||
self._original(irc, msg, args)
|
self._original(irc, msg, args)
|
||||||
else:
|
else:
|
||||||
cb = irc.getCallback('Misc')
|
if args:
|
||||||
if cb is not None:
|
irc.error('%s is not a valid command in this plugin.' %
|
||||||
cb.help(irc, msg, [self.name()])
|
args[0])
|
||||||
|
else:
|
||||||
|
irc.error()
|
||||||
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