aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/icap.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-07 21:20:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-07 21:20:33 +0100
commit0e8dbac3d41dcf47c06ea05484a0df40b393660f (patch)
tree03e180ee8e5d1c1cf85286fd49cab757a13a7288 /lualib/lua_scanners/icap.lua
parent4913fb84c2a2eeb4dbdf6e95a39d0e8cf97ca402 (diff)
downloadrspamd-0e8dbac3d41dcf47c06ea05484a0df40b393660f.tar.gz
rspamd-0e8dbac3d41dcf47c06ea05484a0df40b393660f.zip
[Fix] Fix AV scan logic
Diffstat (limited to 'lualib/lua_scanners/icap.lua')
-rw-r--r--lualib/lua_scanners/icap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/icap.lua b/lualib/lua_scanners/icap.lua
index 1f3ada5c9..42c32134b 100644
--- a/lualib/lua_scanners/icap.lua
+++ b/lualib/lua_scanners/icap.lua
@@ -385,7 +385,7 @@ local function icap_check(task, content, digest, rule)
})
end
- if common.need_check(task, content, rule, digest, icap_check_uncached) then
+ if common.condition_check_and_continue(task, content, rule, digest, icap_check_uncached) then
return
else
icap_check_uncached()