From c185010e08ae348a112980cde8161c31ed441509 Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Sun, 31 Oct 2010 15:47:02 -0400 Subject: [PATCH] Really handle servers that don't use : properly --- irc/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/connection.go b/irc/connection.go index 9d8c4c8..4cd7546 100644 --- a/irc/connection.go +++ b/irc/connection.go @@ -223,7 +223,7 @@ func (conn *Conn) recv() { line.Args = args[1:len(args)] // some servers (Gamesurge) don't use : properly if line.Text == "" { - line.Text = args[1] + line.Text = args[len(args)-1] } } conn.in <- line