commit d562ac8: [Minor] Neural: Sigh, another fix for passthrough
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Jul 10 09:56:04 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-07-10 10:50:33 +0100
URL: https://github.com/rspamd/rspamd/commit/d562ac860607af63b2d8836ae9f5f690fb3ffc97 (HEAD -> master)
[Minor] Neural: Sigh, another fix for passthrough
---
src/plugins/lua/neural.lua | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua
index b88890c24..f23730ec3 100644
--- a/src/plugins/lua/neural.lua
+++ b/src/plugins/lua/neural.lua
@@ -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
More information about the Commits
mailing list