aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat')
-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;