aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-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)