aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 14:00:10 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 14:00:10 +0000
commit7a580591aabfda1fc1474c8baba45b8b9a679195 (patch)
treeb97c86ab11e63b5461ffb3e84b0b43b425cd58a6 /src/libstat/stat_process.c
parentfcd3694e29f10b8709ae6bf66fe276691c134c01 (diff)
downloadrspamd-7a580591aabfda1fc1474c8baba45b8b9a679195.tar.gz
rspamd-7a580591aabfda1fc1474c8baba45b8b9a679195.zip
[Fix] Improve cached action interaction
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 2284907a1..aed9d383d 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -1121,9 +1121,6 @@ rspamd_stat_check_autolearn (struct rspamd_task *task)
mres = task->result;
if (mres) {
-
- mres->action = rspamd_check_action_metric (task, mres);
-
if (mres->score > rspamd_task_get_required_score (task, mres)) {
task->flags |= RSPAMD_TASK_FLAG_LEARN_SPAM;