Skip to content

Commit

Permalink
Merge pull request #4594 from fatalbanana/symbols_prefixes
Browse files Browse the repository at this point in the history
[Fix] rbl: really fix dependency registration when symbols_prefixes i…
  • Loading branch information
vstakhov committed Sep 10, 2023
2 parents 4f96d78 + eaa05cc commit 67c8b53
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 67c8b53

Please sign in to comment.