diff options
Diffstat (limited to 'irc/tokens.go')
-rw-r--r-- | irc/tokens.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irc/tokens.go b/irc/tokens.go index 5c156b3..179454c 100644 --- a/irc/tokens.go +++ b/irc/tokens.go @@ -244,7 +244,7 @@ func (msg *Message) IsValid() bool { return 4 <= len(msg.Params) case rplWhoreply: return 8 <= len(msg.Params) - case "JOIN", "PART", "TAGMSG": + case "JOIN", "NICK", "PART", "TAGMSG": return 1 <= len(msg.Params) && msg.Prefix != "" case "PRIVMSG", "NOTICE", "TOPIC": return 2 <= len(msg.Params) && msg.Prefix != "" |