summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorC. McEnroe2021-06-20 18:17:38 -0400
committerC. McEnroe2021-06-20 18:17:38 -0400
commitda374e6e610f9c825ddb7d35170a5beacd2d9f08 (patch)
treebd1a6503e201486a8a47a4f78aa96977ccab53d5 /handle.c
parentb3631a7e325ee98b73f6544ae7174d7c0e8a3025 (diff)
Don't match actions in notices
Diffstat (limited to 'handle.c')
-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;