commit 6c4b68a: [Rework] Slashing: Turn off postfilters when passthrough result is set
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Aug 20 09:21:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-08-20 10:14:37 +0100
URL: https://github.com/rspamd/rspamd/commit/6c4b68a09b471b45ff4f53fa4c76cd35d696908c (HEAD -> master)
[Rework] Slashing: Turn off postfilters when passthrough result is set
---
src/lua/lua_task.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index afc741af9..9069d3f85 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -2035,8 +2035,7 @@ lua_task_set_pre_result (lua_State * L)
RSPAMD_TASK_STAGE_CLASSIFIERS_PRE |
RSPAMD_TASK_STAGE_CLASSIFIERS_POST);
rspamd_symcache_disable_all_symbols (task, task->cfg->cache,
- SYMBOL_TYPE_IDEMPOTENT | SYMBOL_TYPE_IGNORE_PASSTHROUGH |
- SYMBOL_TYPE_POSTFILTER);
+ SYMBOL_TYPE_IDEMPOTENT | SYMBOL_TYPE_IGNORE_PASSTHROUGH);
}
}
else {
More information about the Commits
mailing list