From: Vsevolod Stakhov Date: Mon, 1 Mar 2021 18:31:01 +0000 (+0000) Subject: [Fix] One more default behaviour fix X-Git-Tag: 3.0~628 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dc290579f4091bb61f5081ae8342b386c7303a9d;p=rspamd.git [Fix] One more default behaviour fix --- 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)