aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-13 14:22:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-13 14:22:04 +0000
commit60107a1f7d79df078c8528618c026858092d2d46 (patch)
tree36ced99f94959ab7a3c72823a6faad750bc5dcbd /src/libmime
parent776a0273b5dc02498fcc24373bdb76ae608219fa (diff)
downloadrspamd-60107a1f7d79df078c8528618c026858092d2d46.tar.gz
rspamd-60107a1f7d79df078c8528618c026858092d2d46.zip
[Project] Add concept of flexible actions
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/filter.c b/src/libmime/filter.c
index 94c9ac223..2bda47fe7 100644
--- a/src/libmime/filter.c
+++ b/src/libmime/filter.c
@@ -71,7 +71,7 @@ rspamd_create_metric_result (struct rspamd_task *task)
if (task->cfg) {
for (i = 0; i < METRIC_ACTION_MAX; i++) {
- metric_res->actions_limits[i] = task->cfg->actions[i].score;
+ metric_res->actions_limits[i] = task->cfg->actions[i].threshold;
}
}
else {