aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/razor.lua
diff options
context:
space:
mode:
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-10-18 14:34:46 +0200
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-10-18 14:34:46 +0200
commit1206d1eaf8336b4f080c503f95755c8b6c2ba015 (patch)
tree2efc0fc4b4ee5cb5d12d4dffc94961cee7224a50 /lualib/lua_scanners/razor.lua
parente25050699a85e1d34da566ea225f97c0069220c2 (diff)
downloadrspamd-1206d1eaf8336b4f080c503f95755c8b6c2ba015.tar.gz
rspamd-1206d1eaf8336b4f080c503f95755c8b6c2ba015.zip
[Fix] lua_scanners - razor rename need_check function
fix #3098
Diffstat (limited to 'lualib/lua_scanners/razor.lua')
-rw-r--r--lualib/lua_scanners/razor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/razor.lua b/lualib/lua_scanners/razor.lua
index c579b6443..3086da948 100644
--- a/lualib/lua_scanners/razor.lua
+++ b/lualib/lua_scanners/razor.lua
@@ -170,7 +170,7 @@ local function razor_check(task, content, digest, rule)
})
end
- if common.need_check(task, content, rule, digest, razor_check_uncached) then
+ if common.condition_check_and_continue(task, content, rule, digest, razor_check_uncached) then
return
else
razor_check_uncached()