From 7445ed05b8a0ee36a4a13d4158b47c2933832034 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 12 Mar 2005 22:27:23 +0000 Subject: [PATCH] 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. --- src/callbacks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/callbacks.py b/src/callbacks.py index 8b872b22a..79fd7dbb3 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -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)