From c5d553b0be275cfb649164ab81233465cdf92a66 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 26 Nov 2022 21:42:09 +0000 Subject: [PATCH] [Minor] Fix backward compatibility with old assumption about empty settings --- src/plugins/lua/settings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index 80065ec4f..9ae372dd7 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -1035,7 +1035,7 @@ local function process_settings_table(tbl, allow_ids, mempool, is_static) name, nchecks) end else - if not elt.disabled then + if not elt.disabled and elt.external_map then lua_util.debugm(N, rspamd_config, 'registered settings %s with no checks, assume it as implicit', name) out.implicit = 1 -- 2.39.5