From c4d09cd22889bd6020970f12e7ea37f00a922ac0 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Mon, 30 Aug 2010 12:03:01 +0100 Subject: [PATCH] Missed strings.Split() invocation; h/t jessta. --- irc/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index dec82fd..480bf9a 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -424,7 +424,7 @@ func (conn *Conn) setupEvents() { // Handle 353 names reply conn.AddHandler("353", func(conn *Conn, line *Line) { if ch := conn.GetChannel(line.Args[2]); ch != nil { - nicks := strings.Split(line.Text, " ", 0) + nicks := strings.Split(line.Text, " ", -1) for _, nick := range nicks { // UnrealIRCd's coders are lazy and leave a trailing space if nick == "" {