mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
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())
|
||||
|
||||
def __call__(self, irc, msg):
|
||||
irc = SimpleProxy(irc, msg)
|
||||
if msg.command == 'PRIVMSG':
|
||||
if self.noIgnore or not ircdb.checkIgnored(msg.prefix,msg.args[0]):
|
||||
self.__parent.__call__(irc, msg)
|
||||
|
Loading…
Reference in New Issue
Block a user