]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] lua_scanners - razor rename need_check function 3104/head
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Fri, 18 Oct 2019 12:34:46 +0000 (14:34 +0200)
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Fri, 18 Oct 2019 12:34:46 +0000 (14:34 +0200)
fix #3098

lualib/lua_scanners/razor.lua

index c579b6443d187a498503a214996f02375c8eff83..3086da948b5047ca7ac93d8881ee6af4ac4e3d4e 100644 (file)
@@ -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()