diff options
Diffstat (limited to 'src/libserver/roll_history.c')
-rw-r--r-- | src/libserver/roll_history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c index 812df927e..7cc0490c1 100644 --- a/src/libserver/roll_history.c +++ b/src/libserver/roll_history.c @@ -125,7 +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]; + row->required_score = rspamd_task_get_required_score (task, metric_res); cbdata.pos = row->symbols; cbdata.remain = sizeof (row->symbols); g_hash_table_foreach (metric_res->symbols, |