From f3909b8bcb509bbb57d685ec5a2b9f93097b5755 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Fri, 3 Aug 2018 17:07:06 -0400 Subject: [PATCH] core/ignore: fix #900 --- src/core/ignore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/ignore.c b/src/core/ignore.c index 3f08cb10..57c84623 100644 --- a/src/core/ignore.c +++ b/src/core/ignore.c @@ -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 {