From 28b05cffcf50dd5bbeceb16a0c1dc40285551c8a Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 6 Sep 2004 08:10:49 +0000 Subject: [PATCH] This, also, is just plain super. --- plugins/Services.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/Services.py b/plugins/Services.py index 73d02f35b..ff4df7aac 100644 --- a/plugins/Services.py +++ b/plugins/Services.py @@ -127,7 +127,8 @@ class Services(privmsgs.CapabilityCheckingPrivmsg): necessary if the bot is properly configured.""" capability = 'admin' def __init__(self): - callbacks.Privmsg.__init__(self) + self.__parent = super(Services, self) + self.__parent.__init__() for nick in self.registryValue('nicks'): registerNick(nick) self.reset() @@ -209,7 +210,7 @@ class Services(privmsgs.CapabilityCheckingPrivmsg): self.sentGhost = True def __call__(self, irc, msg): - callbacks.Privmsg.__call__(self, irc, msg) + self.__parent.__call__(irc, msg) nick = self._getNick() if nick not in self.registryValue('nicks'): return