diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-29 11:31:59 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-29 11:31:59 +0100 |
commit | fb6e9f73f4b26fff517784e820d4896020f49c40 (patch) | |
tree | 71b906322fec77f496c2f370086e5a2c4b5aceb7 /src/libserver/roll_history.c | |
parent | 365d60218dac672472b0405a088e06394a1a371c (diff) | |
download | rspamd-fb6e9f73f4b26fff517784e820d4896020f49c40.tar.gz rspamd-fb6e9f73f4b26fff517784e820d4896020f49c40.zip |
[Feature] Simplify actions application by the settings
Diffstat (limited to 'src/libserver/roll_history.c')
-rw-r--r-- | src/libserver/roll_history.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libserver/roll_history.c b/src/libserver/roll_history.c index ca577317d..b8029b306 100644 --- a/src/libserver/roll_history.c +++ b/src/libserver/roll_history.c @@ -124,9 +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->score, - &row->required_score, - metric_res->metric); + row->action = rspamd_check_action_metric (task, metric_res); cbdata.pos = row->symbols; cbdata.remain = sizeof (row->symbols); g_hash_table_foreach (metric_res->symbols, |