commit eaa05cc: [Fix] rbl: really fix dependency registration when symbols_prefixes is used

Andrew Lewis nerf at judo.za.org
Sun Sep 10 17:49:03 UTC 2023


Author: Andrew Lewis
Date: 2023-09-09 23:22:49 +0200
URL: https://github.com/rspamd/rspamd/commit/eaa05cc69af525ba74567b7790ebdc836099c20b (refs/pull/4594/head)

[Fix] rbl: really fix dependency registration when symbols_prefixes is used

---
 src/plugins/lua/rbl.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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')


More information about the Commits mailing list