Don't match actions in notices

weechat-hashes
C. McEnroe 2021-06-20 18:17:38 -04:00
parent b3631a7e32
commit da374e6e61
1 changed files with 1 additions and 1 deletions

View File

@ -1241,7 +1241,7 @@ static void handlePrivmsg(struct Message *msg) {
} }
bool notice = (msg->cmd[0] == 'N'); bool notice = (msg->cmd[0] == 'N');
bool action = isAction(msg); bool action = !notice && isAction(msg);
bool highlight = !mine && isMention(msg); bool highlight = !mine && isMention(msg);
enum Heat heat = filterCheck((highlight || query ? Hot : Warm), id, msg); enum Heat heat = filterCheck((highlight || query ? Hot : Warm), id, msg);
if (heat > Warm && !mine && !query) highlight = true; if (heat > Warm && !mine && !query) highlight = true;