mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
core/ignore: fix #900
This commit is contained in:
parent
0c94d44f52
commit
f3909b8bcb
@ -86,7 +86,8 @@ static int ignore_match_level(IGNORE_REC *rec, int level)
|
||||
{
|
||||
if (level & FLAG_MSGLEVELS) {
|
||||
int flaglevel = level & FLAG_MSGLEVELS;
|
||||
return (level & rec->level) && (flaglevel & rec->level);
|
||||
int msglevel = level & ~FLAG_MSGLEVELS;
|
||||
return (msglevel & rec->level) && (flaglevel & rec->level);
|
||||
} else if (!(rec->level & FLAG_MSGLEVELS)) {
|
||||
return (level & rec->level);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user