From fdc9c914b24815d4ed31361e2616abc37e2967ad Mon Sep 17 00:00:00 2001 From: James Vega Date: Sat, 21 Jan 2006 15:40:57 +0000 Subject: [PATCH] plugins/Services: Forgot to set 'on' in a couple places --- plugins/Services/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/Services/plugin.py b/plugins/Services/plugin.py index 3c30494b7..9fd1ed691 100644 --- a/plugins/Services/plugin.py +++ b/plugins/Services/plugin.py @@ -406,6 +406,7 @@ class Services(callbacks.Plugin): def do473(self, irc, msg): channel = msg.args[1] + on = 'on %s' % irc.network self.log.info('%s is +i, attempting ChanServ invite %s.', channel, on) self._chanservCommand(irc, channel, 'invite', log=True) @@ -424,6 +425,7 @@ class Services(callbacks.Plugin): def doInvite(self, irc, msg): if ircutils.strEqual(msg.nick, self.registryValue('ChanServ')): channel = msg.args[1] + on = 'on %s' % irc.network networkGroup = conf.supybot.networks.get(irc.network) self.log.info('Joining %s, invited by ChanServ %s.', channel, on) irc.queueMsg(networkGroup.channels.join(channel))