aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-28 13:32:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-28 13:32:33 +0100
commit638dfe7e1a7b75c2d0c7e06cff728595512d3c7a (patch)
tree7bbf3f4a67630589fff7c782c3b237285b26a62e /src/plugins
parent10d6ca42e32ce16d25a5c00f30d46cae85853b9f (diff)
downloadrspamd-638dfe7e1a7b75c2d0c7e06cff728595512d3c7a.tar.gz
rspamd-638dfe7e1a7b75c2d0c7e06cff728595512d3c7a.zip
[Minor] Skip whitelists check for resolveip
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 30945d49f..4f6bae83f 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