diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-28 13:32:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-28 13:32:33 +0100 |
commit | 638dfe7e1a7b75c2d0c7e06cff728595512d3c7a (patch) | |
tree | 7bbf3f4a67630589fff7c782c3b237285b26a62e /src/plugins | |
parent | 10d6ca42e32ce16d25a5c00f30d46cae85853b9f (diff) | |
download | rspamd-638dfe7e1a7b75c2d0c7e06cff728595512d3c7a.tar.gz rspamd-638dfe7e1a7b75c2d0c7e06cff728595512d3c7a.zip |
[Minor] Skip whitelists check for resolveip
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/rbl.lua | 2 |
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 |