diff options
author | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-18 22:04:07 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-18 22:04:07 +0200 |
commit | bf059516285fb3690a711216f9a2998b7ddc4fd9 (patch) | |
tree | 330a78176dd551b0565cb8a6cd71da2bdef468f7 | |
parent | editor: Don't add another line if the last one is empty (diff) |
irc: Fix RPL_TOPICWHOTIME handling
-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 ac5456a..de52ea6 100644 --- a/irc/tokens.go +++ b/irc/tokens.go @@ -263,7 +263,7 @@ func (msg *Message) IsValid() bool { return false } _, err := strconv.ParseInt(msg.Params[3], 10, 64) - return err != nil + return err == nil case "BATCH": if len(msg.Params) < 1 { return false |