1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-07-04 04:19:23 +00:00

Gofix for r59.

This commit is contained in:
Alex Bramley 2011-08-03 08:04:01 +01:00
parent cd53356ca6
commit b32e8d050f
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ func parseLine(s string) *Line {
// now we're here, we've parsed a :nick!user@host or :server off
// s should contain "cmd args[] :text"
args := strings.Split(s, " :", 2)
args := strings.SplitN(s, " :", 2)
if len(args) > 1 {
args = append(strings.Fields(args[0]), args[1])
} else {