

def _chanservCommand(self, irc, channel, command, log=False):
    chanserv = self.registryValue('ChanServ')
    if chanserv:
        msg = ircmsgs.privmsg(chanserv, ' '.join([command, self, irc.nick]))
        irc.sendMsg(msg)
    elif log:
        self.log.warning('Unable to send %s command to ChanServ, you must set supybot.plugins.Services.ChanServ before I can send commands to ChanServ.', command)
    else:
        irc.error((_("You must set supybot.plugins.Services.ChanServ before I'm able to send the %s command.") % command), Raise=True)

dataset/ETHPy150Open ProgVal/Limnoria/plugins/Services/plugin.py Services._chanservCommand/VarMisuse@49/67 `channel`->`self`