1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-07-05 21:09:24 +00:00

Allow renicking to be customised. (Closes #14)

This commit is contained in:
Alex Bramley 2013-01-06 21:01:55 +00:00
parent a4028ee669
commit b39e4717af
2 changed files with 5 additions and 1 deletions

View file

@ -79,7 +79,7 @@ func (conn *Conn) h_001(line *Line) {
// Handler to deal with "433 :Nickname already in use"
func (conn *Conn) h_433(line *Line) {
// Args[1] is the new nick we were attempting to acquire
neu := line.Args[1] + "_"
neu := conn.NewNick(line.Args[1])
conn.Nick(neu)
// if this is happening before we're properly connected (i.e. the nick
// we sent in the initial NICK command is in use) we will not receive