diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-29 09:59:11 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-29 09:59:11 +0100 |
commit | 365d60218dac672472b0405a088e06394a1a371c (patch) | |
tree | c589ce79391faf60511c286b691da0380fa48cec /src/libstat/stat_process.c | |
parent | 54781dd54db908d90b7d1e4acee46c89cbd6aeb0 (diff) | |
download | rspamd-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.c | 2 |
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) { |