def irc_ERR_NICKNAMEINUSE(self, client, msg): client.nick = msg.args[1] + '_' client.send(message.nick(client.nick))
def irc_client_connected(self, client): client.send(message.user(self.user, '*', '*', self.gecos)) client.send(message.nick(self.nick)) client.nick = self.nick client.user = self.user client.gecos = self.gecos