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 } })