aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2023-10-26 08:40:00 +0200
committerAndrew Lewis <nerf@judo.za.org>2023-10-26 08:40:00 +0200
commit15e3f277fad7c692b641423b38d6b508b764a3f8 (patch)
tree291058752740266e5ee6077a9ff476a396402b10 /src/plugins/lua/rbl.lua
parent5ef8dfff5dcff5e8922e5a2c8e41d7e381dbcd37 (diff)
downloadrspamd-15e3f277fad7c692b641423b38d6b508b764a3f8.tar.gz
rspamd-15e3f277fad7c692b641423b38d6b508b764a3f8.zip
[Minor] Reiterate on the previous changes
- Demote message to info level - Name it returncodes_matcher for better specificity
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r--src/plugins/lua/rbl.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index d1f2df69c..f2233a3e5 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -894,10 +894,10 @@ local function gen_rbl_callback(rule)
description[#description + 1] = 'selector'
end
- if not rule.matcher then
- rule.matcher = 'equality'
+ if not rule.returncodes_matcher then
+ rule.returncodes_matcher = 'equality'
end
- local match = matchers[rule.matcher]
+ local match = matchers[rule.returncodes_matcher]
local callback_f = function(task)
-- DNS requests to issue (might be hashed afterwards)
@@ -1096,7 +1096,7 @@ local function add_rbl(key, rbl, global_opts)
def_type, rbl.symbol)
end
- local match_type = rbl.matcher
+ local match_type = rbl.returncodes_matcher
if match_type and rbl.returncodes and map_match_types[match_type] then
if not rbl.returncodes_maps then
rbl.returncodes_maps = {}