Skip to content

Commit

Permalink
[Fix] rbl: really fix dependency registration when symbols_prefixes i…
Browse files Browse the repository at this point in the history
…s used
  • Loading branch information
fatalbanana committed Sep 9, 2023
1 parent f5e3fbe commit eaa05cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/lua/rbl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit eaa05cc

Please sign in to comment.