

def doNick(self, irc, msg):
    nick = self._getNick(irc.network)
    if (ircutils.strEqual(msg.args[0], irc.nick) and ircutils.strEqual(irc.nick, nick)):
        self._doIdentify(irc)
    elif ircutils.strEqual(msg.nick, nick):
        irc.sendMsg(ircmsgs.nick(nick))

dataset/ETHPy150Open ProgVal/Limnoria/plugins/Services/plugin.py Services.doNick/original