summaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/kaspersky_av.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_scanners/kaspersky_av.lua')
-rw-r--r--lualib/lua_scanners/kaspersky_av.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lualib/lua_scanners/kaspersky_av.lua b/lualib/lua_scanners/kaspersky_av.lua
index cb652f5b6..767ff2a94 100644
--- a/lualib/lua_scanners/kaspersky_av.lua
+++ b/lualib/lua_scanners/kaspersky_av.lua
@@ -178,7 +178,9 @@ local function kaspersky_check(task, content, digest, rule)
})
end
- if common.need_check(task, content, rule, digest) then
+ if common.need_check(task, content, rule, digest, kaspersky_check_uncached) then
+ return
+ else
kaspersky_check_uncached()
end