commit 1206d1e: [Fix] lua_scanners - razor rename need_check function

Carsten Rosenberg c.rosenberg at heinlein-support.de
Fri Oct 18 13:42:07 UTC 2019


Author: Carsten Rosenberg
Date: 2019-10-18 14:34:46 +0200
URL: https://github.com/rspamd/rspamd/commit/1206d1eaf8336b4f080c503f95755c8b6c2ba015 (refs/pull/3104/head)

[Fix] lua_scanners - razor rename need_check function
fix #3098

---
 lualib/lua_scanners/razor.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()


More information about the Commits mailing list