aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_scanners/common.lua')
-rw-r--r--lualib/lua_scanners/common.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua
index dcd31db30..64f67dcc8 100644
--- a/lualib/lua_scanners/common.lua
+++ b/lualib/lua_scanners/common.lua
@@ -207,7 +207,7 @@ local function check_cache(task, digest, rule, fn)
if err then
rspamd_logger.errx(task, 'got error checking cache: %s', err)
end
- fn()
+ return true
end
end