From: Vsevolod Stakhov Date: Tue, 18 Oct 2016 09:57:46 +0000 (+0100) Subject: [Fix] Fix actions in rolling history X-Git-Tag: 1.4.0~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10816130df267d918bb98e83564783bb1f017475;p=thirdparty%2Frspamd.git [Fix] Fix actions in rolling history --- diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c index 7cc0490c1a..620397f38c 100644 --- a/src/libserver/roll_history.c +++ b/src/libserver/roll_history.c @@ -124,7 +124,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->action = metric_res->action; row->required_score = rspamd_task_get_required_score (task, metric_res); cbdata.pos = row->symbols; cbdata.remain = sizeof (row->symbols);