From: Vsevolod Stakhov Date: Mon, 29 Aug 2016 17:28:12 +0000 (+0100) Subject: [Fix] Params should be treated as a hash X-Git-Tag: 1.4.0~530 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a5f631ea3f17b20cb74193de1f16927e3cd9684e;p=thirdparty%2Frspamd.git [Fix] Params should be treated as a hash --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index c3fd2a07c4..b332158bd4 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -349,7 +349,7 @@ local function rbl_cb (task) end, enabled_rbls)) local r = task:get_resolver() - for _,p in ipairs(params) do + for _,p in pairs(params) do r:resolve_a({ task = task, p.to_resolve,