diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-13 17:02:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-13 17:02:54 +0100 |
commit | fb28f40700f215b61765b2a2cdaead68b8049a05 (patch) | |
tree | d246f3d981d125278d24e93f27484e4cb2a4d338 /src | |
parent | 7d0160a7d82221de49ae235be669e131d8156243 (diff) | |
download | rspamd-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.c | 2 |
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; |