From 0b710f2dd2c617eb9f74852824dd4e6f621caad4 Mon Sep 17 00:00:00 2001 From: Alexey AL Date: Thu, 12 Feb 2015 03:35:39 +0300 Subject: [PATCH] Fix rbl.lua --- src/plugins/lua/rbl.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 3db397556..4ab1b622f 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -157,13 +157,11 @@ local function rbl_cb (task) end for _,rh in ipairs(havegot['received']) do if rh['real_ip'] and rh['real_ip']:is_valid() then - for k,rbl in pairs(rbls) do if (rh['real_ip']:get_version() == 6 and rbl['ipv6']) or (rh['real_ip']:get_version() == 4 and rbl['ipv4']) then task:get_resolver():resolve_a(task:get_session(), task:get_mempool(), ip_to_rbl(rh['real_ip'], rbl['rbl']), rbl_dns_cb, k) end - end end end end)() -- 2.39.5