1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-12 18:44:50 +00:00

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

View file

@ -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