Really handle servers that don't use : properly

This commit is contained in:
Raymond Lu 2010-10-31 15:47:02 -04:00
parent f7e3c71249
commit c185010e08
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ func (conn *Conn) recv() {
line.Args = args[1:len(args)] line.Args = args[1:len(args)]
// some servers (Gamesurge) don't use : properly // some servers (Gamesurge) don't use : properly
if line.Text == "" { if line.Text == "" {
line.Text = args[1] line.Text = args[len(args)-1]
} }
} }
conn.in <- line conn.in <- line