From 638dfe7e1a7b75c2d0c7e06cff728595512d3c7a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 28 Aug 2019 13:32:33 +0100 Subject: [PATCH] [Minor] Skip whitelists check for resolveip --- src/plugins/lua/rbl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 30945d49fd..4f6bae83fd 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -291,7 +291,7 @@ local function gen_rbl_callback(rule) req_str = ip_to_rbl(req) end - if is_whitelisted(task, req, req_str, whitelist, what) then + if whitelist and is_whitelisted(task, req, req_str, whitelist, what) then return end -- 2.47.3