commit dc29057: [Fix] One more default behaviour fix
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Mar 1 18:35:09 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-03-01 18:31:01 +0000
URL: https://github.com/rspamd/rspamd/commit/dc290579f4091bb61f5081ae8342b386c7303a9d (HEAD -> master)
[Fix] One more default behaviour fix
---
src/plugins/lua/rbl.lua | 5 -----
1 file changed, 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)
More information about the Commits
mailing list