mirror of https://github.com/Mikaela/Limnoria.git
Let's give do* methods at least a SimpleProxy, if for no other reason than to stave off the questions and consternation resulting from *not* having an irc.reply available.
This commit is contained in:
parent
aefcd594df
commit
7445ed05b8
|
@ -1127,6 +1127,7 @@ class PluginMixin(BasePlugin, irclib.IrcCallback):
|
||||||
return canonicalName(self.name())
|
return canonicalName(self.name())
|
||||||
|
|
||||||
def __call__(self, irc, msg):
|
def __call__(self, irc, msg):
|
||||||
|
irc = SimpleProxy(irc, msg)
|
||||||
if msg.command == 'PRIVMSG':
|
if msg.command == 'PRIVMSG':
|
||||||
if self.noIgnore or not ircdb.checkIgnored(msg.prefix,msg.args[0]):
|
if self.noIgnore or not ircdb.checkIgnored(msg.prefix,msg.args[0]):
|
||||||
self.__parent.__call__(irc, msg)
|
self.__parent.__call__(irc, msg)
|
||||||
|
|
Loading…
Reference in New Issue