def change_nick(self, before, after):
        self.userdict[after] = 1
        del self.userdict[before]
        if before in self.operdict:
            self.operdict[after] = 1
            del self.operdict[before]
        if before in self.voiceddict:
            self.voiceddict[after] = 1
            del self.voiceddict[before]
dataset/ETHPy150Open Pathoschild/stewbot/stewbot/components/modules/irclib/ircbot.py/Channel.change_nick/original