

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, self)
        irc.queueMsg(networkGroup.channels.join(channel))

dataset/ETHPy150Open ProgVal/Limnoria/plugins/Services/plugin.py Services.doInvite/VarMisuse@77/115 `on`->`self`