aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/common.lua
diff options
context:
space:
mode:
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-09-27 14:06:41 +0200
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-09-27 14:06:41 +0200
commit259a51ccefbac3e48bfcc0501be963d5baf10bc4 (patch)
tree8a5e6688b9adb78fc20613e341c2d338e4b36a8f /lualib/lua_scanners/common.lua
parentcb1fb98db95bb42ba43c98b8c390748f7ac9c300 (diff)
downloadrspamd-259a51ccefbac3e48bfcc0501be963d5baf10bc4.tar.gz
rspamd-259a51ccefbac3e48bfcc0501be963d5baf10bc4.zip
[Minor] lua_scanners - fix small errors
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