

def __call__(self, irc, msg):
    self.__parent.__call__(irc, msg)
    if self.disabled(irc):
        return
    nick = nickserv._getNick(irc.network)
    if (nick not in self.registryValue('nicks')):
        return
    nickserv = self.registryValue('NickServ')
    password = self._getNickServPassword(nick)
    ghostDelay = self.registryValue('ghostDelay')
    if (not ghostDelay):
        return
    if (nick and nickserv and password and (not ircutils.strEqual(nick, irc.nick))):
        if (irc.afterConnect and ((self.sentGhost is None) or ((self.sentGhost + ghostDelay) < time.time()))):
            if (nick in irc.state.nicksToHostmasks):
                self._doGhost(irc)
            else:
                irc.sendMsg(ircmsgs.nick(nick))

dataset/ETHPy150Open ProgVal/Limnoria/plugins/Services/plugin.py Services.__call__/VarMisuse@40/45 `self`->`nickserv`