aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-18 14:40:11 +0100
committerGitHub <noreply@github.com>2019-10-18 14:40:11 +0100
commit181b3ee7de5f4c986139982f8ffd2d3ef0c3b899 (patch)
treed04943184a063e733647808cf0e027001647ae5f
parent705ef63d5d0505baeadd17da4e9e5986d937a028 (diff)
parent1206d1eaf8336b4f080c503f95755c8b6c2ba015 (diff)
downloadrspamd-181b3ee7de5f4c986139982f8ffd2d3ef0c3b899.tar.gz
rspamd-181b3ee7de5f4c986139982f8ffd2d3ef0c3b899.zip
Merge pull request #3104 from HeinleinSupport/master
[Fix] lua_scanners - razor rename need_check function
-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()