]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Neural: Sigh, another fix for passthrough
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 10 Jul 2019 09:50:33 +0000 (10:50 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 10 Jul 2019 09:50:33 +0000 (10:50 +0100)
src/plugins/lua/neural.lua

index b88890c24933eafff2cd97c7221571e8bf087fe4..f23730ec3b395fca2ad0ff0c8f428d3268625a32 100644 (file)
@@ -1072,6 +1072,8 @@ local function ann_push_vector(task)
   if verdict == 'passthrough' then
     lua_util.debugm(N, task, 'ignore task as its verdict is %s(%s)',
         verdict, score)
+
+    return
   end
 
   for _,rule in pairs(settings.rules) do