From fb28f40700f215b61765b2a2cdaead68b8049a05 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 13 Apr 2021 17:02:54 +0100 Subject: [Minor] Fix include/exclude mode for get_urls method --- src/lua/lua_url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3