diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-15 14:00:10 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-15 14:00:10 +0000 |
commit | 7a580591aabfda1fc1474c8baba45b8b9a679195 (patch) | |
tree | b97c86ab11e63b5461ffb3e84b0b43b425cd58a6 /src/libstat | |
parent | fcd3694e29f10b8709ae6bf66fe276691c134c01 (diff) | |
download | rspamd-7a580591aabfda1fc1474c8baba45b8b9a679195.tar.gz rspamd-7a580591aabfda1fc1474c8baba45b8b9a679195.zip |
[Fix] Improve cached action interaction
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/stat_process.c | 3 |
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; |