aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-29 09:59:11 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-29 09:59:11 +0100
commit365d60218dac672472b0405a088e06394a1a371c (patch)
treec589ce79391faf60511c286b691da0380fa48cec /src/libstat/stat_process.c
parent54781dd54db908d90b7d1e4acee46c89cbd6aeb0 (diff)
downloadrspamd-365d60218dac672472b0405a088e06394a1a371c.tar.gz
rspamd-365d60218dac672472b0405a088e06394a1a371c.zip
[Feature] Store actions limits in metric result
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 1761dc7a3..2a40ca26c 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -735,7 +735,7 @@ rspamd_stat_check_autolearn (struct rspamd_task *task)
if (mres) {
mres->action = rspamd_check_action_metric (task,
mres->score,
- &mres->required_score,
+ &mres->actions_limits[METRIC_ACTION_REJECT],
mres->metric);
if (mres->action == METRIC_ACTION_REJECT) {