From: Andrew Lewis Date: Sat, 9 Sep 2023 21:22:49 +0000 (+0200) Subject: [Fix] rbl: really fix dependency registration when symbols_prefixes is used X-Git-Tag: 3.7.1~42^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eaa05cc69af525ba74567b7790ebdc836099c20b;p=rspamd.git [Fix] rbl: really fix dependency registration when symbols_prefixes is used --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index b0ea8c63e..6dce0e0f1 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -1094,7 +1094,7 @@ local function add_rbl(key, rbl, global_opts) lua_util.debugm(N, rspamd_config, 'rule dump for %s: %s', rbl.symbol, rbl) - local check_sym = rbl.symbol_prefixes and rbl.symbol .. '_CHECK' or rbl.symbol + local check_sym = rbl.symbols_prefixes and rbl.symbol .. '_CHECK' or rbl.symbol if rbl.dkim then rspamd_config:register_dependency(check_sym, 'DKIM_CHECK')