aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-13 17:02:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-04-13 17:02:54 +0100
commitfb28f40700f215b61765b2a2cdaead68b8049a05 (patch)
treed246f3d981d125278d24e93f27484e4cb2a4d338 /src
parent7d0160a7d82221de49ae235be669e131d8156243 (diff)
downloadrspamd-fb28f40700f215b61765b2a2cdaead68b8049a05.tar.gz
rspamd-fb28f40700f215b61765b2a2cdaead68b8049a05.zip
[Minor] Fix include/exclude mode for get_urls method
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c
index f18792c6c..73aa5ae5f 100644
--- a/src/lua/lua_url.c
+++ b/src/lua/lua_url.c
@@ -975,7 +975,7 @@ lua_tree_url_callback (gpointer key, gpointer value, gpointer ud)
if (url->flags & cb->flags_exclude_mask) {
return;
}
- if (url->flags != (url->flags & cb->flags_mask)) {
+ if ((url->flags & cb->flags_mask) != 0) {
return;
}
break;