diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-03 15:29:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-03 15:29:31 +0100 |
commit | b28e3b7c783636096e6b6a215c998451293a6e46 (patch) | |
tree | a9507c7cefde885981d4c34d1838b5a30efc458c /src | |
parent | b5f2c308cda827342ba231c8cf3f6eaf089495fb (diff) | |
download | rspamd-b28e3b7c783636096e6b6a215c998451293a6e46.tar.gz rspamd-b28e3b7c783636096e6b6a215c998451293a6e46.zip |
[Fix] Save required score in history
Issue: #581
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/roll_history.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c index b8029b306..812df927e 100644 --- a/src/libserver/roll_history.c +++ b/src/libserver/roll_history.c @@ -125,6 +125,7 @@ rspamd_roll_history_update (struct roll_history *history, else { row->score = metric_res->score; row->action = rspamd_check_action_metric (task, metric_res); + row->required_score = metric_res->actions_limits[METRIC_ACTION_REJECT]; cbdata.pos = row->symbols; cbdata.remain = sizeof (row->symbols); g_hash_table_foreach (metric_res->symbols, |