aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/dcc.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/dcc.lua
parent4913fb84c2a2eeb4dbdf6e95a39d0e8cf97ca402 (diff)
downloadrspamd-0e8dbac3d41dcf47c06ea05484a0df40b393660f.tar.gz
rspamd-0e8dbac3d41dcf47c06ea05484a0df40b393660f.zip
[Fix] Fix AV scan logic
Diffstat (limited to 'lualib/lua_scanners/dcc.lua')
-rw-r--r--lualib/lua_scanners/dcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/dcc.lua b/lualib/lua_scanners/dcc.lua
index db1ac4497..ac7915990 100644
--- a/lualib/lua_scanners/dcc.lua
+++ b/lualib/lua_scanners/dcc.lua
@@ -298,7 +298,7 @@ local function dcc_check(task, content, digest, rule)
})
end
- if common.need_check(task, content, rule, digest, dcc_check_uncached) then
+ if common.condition_check_and_continue(task, content, rule, digest, dcc_check_uncached) then
return
else
dcc_check_uncached()