From: Andrew Lewis Date: Tue, 30 Aug 2016 07:10:44 +0000 (+0200) Subject: [Minor] Resurrect RBL module X-Git-Tag: 1.4.0~529^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e2a85f7ddc4369f5315f079e2f9dbfb9c13ef0e;p=thirdparty%2Frspamd.git [Minor] Resurrect RBL module --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index b332158bd4..13563f71bb 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -68,6 +68,7 @@ local function rbl_cb (task) for _,rbl in ipairs(rule.rbls) do if rbl['returncodes'] == nil and rbl['symbol'] ~= nil then task:insert_result(rbl['symbol'], 1) + return end for _,result in pairs(results) do local ipstr = result:to_string() @@ -352,7 +353,7 @@ local function rbl_cb (task) for _,p in pairs(params) do r:resolve_a({ task = task, - p.to_resolve, + name = p.to_resolve, callback = p.callback, forced = p.forced })