From: Vsevolod Stakhov Date: Sun, 3 Apr 2016 14:29:09 +0000 (+0100) Subject: [Fix] Save required score in history X-Git-Tag: 1.2.3~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b28e3b7c783636096e6b6a215c998451293a6e46;p=rspamd.git [Fix] Save required score in history Issue: #581 --- 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,