From: Vsevolod Stakhov Date: Sat, 26 Nov 2022 21:42:09 +0000 (+0000) Subject: [Minor] Fix backward compatibility with old assumption about empty settings X-Git-Tag: 3.5~186 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c5d553b0be275cfb649164ab81233465cdf92a66;p=rspamd.git [Minor] Fix backward compatibility with old assumption about empty settings --- 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