From: Vsevolod Stakhov Date: Tue, 13 Apr 2021 16:14:48 +0000 (+0100) Subject: [Minor] Be consistent in the branches of checks X-Git-Tag: 3.0~499 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f217587d5151f7433a81088372d0d83f7879b6b8;p=thirdparty%2Frspamd.git [Minor] Be consistent in the branches of checks --- diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c index 73aa5ae5f5..c2dade139d 100644 --- a/src/lua/lua_url.c +++ b/src/lua/lua_url.c @@ -972,10 +972,10 @@ lua_tree_url_callback (gpointer key, gpointer value, gpointer ud) } break; case url_flags_mode_exclude_include: - if (url->flags & cb->flags_exclude_mask) { + if ((url->flags & cb->flags_exclude_mask) != 0) { return; } - if ((url->flags & cb->flags_mask) != 0) { + if ((url->flags & cb->flags_mask) == 0) { return; } break;