aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-20 16:27:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-20 16:27:25 +0100
commit9d44d461ab06c26b1483392714fabdb0dcad68be (patch)
tree6116b3830562f06aec702cb7e304d9b338c1edbd /src/plugins/lua
parent447681fc808436f82b76016b8212697400843094 (diff)
downloadrspamd-9d44d461ab06c26b1483392714fabdb0dcad68be.tar.gz
rspamd-9d44d461ab06c26b1483392714fabdb0dcad68be.zip
[Minor] Erm, forgot one more place to debug
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/rbl.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 44d718d9e..ff8b6a700 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -970,6 +970,10 @@ local function add_rbl(key, rbl, global_opts)
}
if not rbl.is_whitelist and rbl.ignore_whitelist == false then
table.insert(black_symbols, rbl.symbol)
+ else
+ lua_util.debugm(N, rspamd_config, 'rule %s ignores whitelists: rbl.is_whitelist = %s, ' ..
+ 'rbl.ignore_whitelist = %s',
+ rbl.symbol, rbl.is_whitelist, rbl.ignore_whitelist)
end
end