diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-30 09:10:44 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-30 09:10:44 +0200 |
commit | 3e2a85f7ddc4369f5315f079e2f9dbfb9c13ef0e (patch) | |
tree | dddaf1e373459851125a1352e06780f681ebcfa3 /src/plugins/lua/rbl.lua | |
parent | a5f631ea3f17b20cb74193de1f16927e3cd9684e (diff) | |
download | rspamd-3e2a85f7ddc4369f5315f079e2f9dbfb9c13ef0e.tar.gz rspamd-3e2a85f7ddc4369f5315f079e2f9dbfb9c13ef0e.zip |
[Minor] Resurrect RBL module
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r-- | src/plugins/lua/rbl.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index b332158bd..13563f71b 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 }) |