diff options
author | June McEnroe <june@causal.agency> | 2021-06-20 18:17:38 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-20 18:17:38 -0400 |
commit | da374e6e610f9c825ddb7d35170a5beacd2d9f08 (patch) | |
tree | bd1a6503e201486a8a47a4f78aa96977ccab53d5 | |
parent | Handle TLS_WANNT_POLL{IN,OUT} from tls_handshake(3) (diff) | |
download | catgirl-da374e6e610f9c825ddb7d35170a5beacd2d9f08.tar.gz catgirl-da374e6e610f9c825ddb7d35170a5beacd2d9f08.zip |
Don't match actions in notices
Diffstat (limited to '')
-rw-r--r-- | handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c index 0a5d95c..bdf6db0 100644 --- a/handle.c +++ b/handle.c @@ -1241,7 +1241,7 @@ static void handlePrivmsg(struct Message *msg) { } bool notice = (msg->cmd[0] == 'N'); - bool action = isAction(msg); + bool action = !notice && isAction(msg); bool highlight = !mine && isMention(msg); enum Heat heat = filterCheck((highlight || query ? Hot : Warm), id, msg); if (heat > Warm && !mine && !query) highlight = true; |