Fix crash on nick change

This commit is contained in:
Thomas Jager 2013-03-13 12:52:31 +01:00
parent def8cd55a7
commit 0304912f18

View File

@ -120,7 +120,7 @@ func (irc *Connection) setupCallbacks() {
irc.AddCallback("NICK", func(e *Event) { irc.AddCallback("NICK", func(e *Event) {
if e.Nick == irc.nick { if e.Nick == irc.nick {
irc.nickcurrent = e.Arguments[0] irc.nickcurrent = e.Message
} }
}) })