diff --git a/irc.go b/irc.go index 88ab7d7..981598e 100644 --- a/irc.go +++ b/irc.go @@ -46,7 +46,7 @@ func reader(irc *IRCConnection) { if len(args) > 1 { event.Message = args[1] } - args = strings.Split(args[0], " ", 0) + args = strings.Split(args[0], " ", -1) event.Code = strings.ToUpper(args[0]) if len(args) > 1 { event.Arguments = args[1:len(args)]