Don't match actions in notices
This commit is contained in:
parent
b3631a7e32
commit
da374e6e61
2
handle.c
2
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user