def addNick(self, network, nick):
        global users
        assert isinstance(network, minisix.string_types)
        assert ircutils.isNick(nick), 'got %s' % nick
        if users.getUserFromNick(network, nick) is not None:
            raise KeyError
        if network not in self.nicks:
            self.nicks[network] = []
        if nick not in self.nicks[network]:
            self.nicks[network].append(nick)
Adds a nick to the user's registered nicks on the network.
dataset/ETHPy150Open ProgVal/Limnoria/src/ircdb.py/IrcUser.addNick