Missed strings.Split() invocation; h/t jessta.

This commit is contained in:
Alex Bramley 2010-08-30 12:03:01 +01:00
parent 36b7645577
commit c4d09cd228
1 changed files with 1 additions and 1 deletions

View File

@ -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 == "" {