]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] rbl: really fix dependency registration when symbols_prefixes is used 4594/head
authorAndrew Lewis <nerf@judo.za.org>
Sat, 9 Sep 2023 21:22:49 +0000 (23:22 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Sat, 9 Sep 2023 21:22:49 +0000 (23:22 +0200)
src/plugins/lua/rbl.lua

index b0ea8c63e19af1897212b33d719c5943761e795e..6dce0e0f13356b39b25b823cfa98519bf625d6f1 100644 (file)
@@ -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')