mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
plugins/Services: Forgot to set 'on' in a couple places
This commit is contained in:
parent
a373b17f02
commit
fdc9c914b2
@ -406,6 +406,7 @@ class Services(callbacks.Plugin):
|
|||||||
|
|
||||||
def do473(self, irc, msg):
|
def do473(self, irc, msg):
|
||||||
channel = msg.args[1]
|
channel = msg.args[1]
|
||||||
|
on = 'on %s' % irc.network
|
||||||
self.log.info('%s is +i, attempting ChanServ invite %s.', channel, on)
|
self.log.info('%s is +i, attempting ChanServ invite %s.', channel, on)
|
||||||
self._chanservCommand(irc, channel, 'invite', log=True)
|
self._chanservCommand(irc, channel, 'invite', log=True)
|
||||||
|
|
||||||
@ -424,6 +425,7 @@ class Services(callbacks.Plugin):
|
|||||||
def doInvite(self, irc, msg):
|
def doInvite(self, irc, msg):
|
||||||
if ircutils.strEqual(msg.nick, self.registryValue('ChanServ')):
|
if ircutils.strEqual(msg.nick, self.registryValue('ChanServ')):
|
||||||
channel = msg.args[1]
|
channel = msg.args[1]
|
||||||
|
on = 'on %s' % irc.network
|
||||||
networkGroup = conf.supybot.networks.get(irc.network)
|
networkGroup = conf.supybot.networks.get(irc.network)
|
||||||
self.log.info('Joining %s, invited by ChanServ %s.', channel, on)
|
self.log.info('Joining %s, invited by ChanServ %s.', channel, on)
|
||||||
irc.queueMsg(networkGroup.channels.join(channel))
|
irc.queueMsg(networkGroup.channels.join(channel))
|
||||||
|
Loading…
Reference in New Issue
Block a user