From 0304912f1811648b48149278dbd89f45db34d200 Mon Sep 17 00:00:00 2001 From: Thomas Jager Date: Wed, 13 Mar 2013 12:52:31 +0100 Subject: [PATCH] Fix crash on nick change --- irc_callback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc_callback.go b/irc_callback.go index 0346669..2c6bf1f 100644 --- a/irc_callback.go +++ b/irc_callback.go @@ -120,7 +120,7 @@ func (irc *Connection) setupCallbacks() { irc.AddCallback("NICK", func(e *Event) { if e.Nick == irc.nick { - irc.nickcurrent = e.Arguments[0] + irc.nickcurrent = e.Message } })