mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
core/ignore: fix #900
This commit is contained in:
parent
0c94d44f52
commit
f3909b8bcb
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue