aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-01 18:31:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-01 18:31:01 +0000
commitdc290579f4091bb61f5081ae8342b386c7303a9d (patch)
tree84c028879efecf1038224c94c7991ce1fdb8de49 /src
parentac376efeeee2c2cb603fa2a9feca84d8f7c9a478 (diff)
downloadrspamd-dc290579f4091bb61f5081ae8342b386c7303a9d.tar.gz
rspamd-dc290579f4091bb61f5081ae8342b386c7303a9d.zip
[Fix] One more default behaviour fix
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/rbl.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 9a2cf9a8b..f476932b0 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -601,15 +601,10 @@ local function gen_rbl_callback(rule)
local res = selector(task)
if res and type(res) == 'table' then
- if rule.selector_flatten then
- add_dns_request(task, table.concat(res, ''), false, false,
- requests_table, selector_label, whitelist)
- else
for _,r in ipairs(res) do
add_dns_request(task, r, false, false, requests_table,
selector_label, whitelist)
end
- end
elseif res then
add_dns_request(task, res, false, false,
requests_table, selector_label, whitelist)