summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-20 18:17:38 -0400
committerJune McEnroe <june@causal.agency>2021-06-20 18:17:38 -0400
commitda374e6e610f9c825ddb7d35170a5beacd2d9f08 (patch)
treebd1a6503e201486a8a47a4f78aa96977ccab53d5
parentHandle TLS_WANNT_POLL{IN,OUT} from tls_handshake(3) (diff)
downloadcatgirl-da374e6e610f9c825ddb7d35170a5beacd2d9f08.tar.gz
catgirl-da374e6e610f9c825ddb7d35170a5beacd2d9f08.zip
Don't match actions in notices
Diffstat (limited to '')
-rw-r--r--handle.c2
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;