aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 244327b49..2b2dc727d 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -1673,12 +1673,12 @@ rspamd_task_get_required_score (struct rspamd_task *task, struct rspamd_scan_res
}
for (i = m->nactions - 1; i >= 0; i --) {
- struct rspamd_action_result *action_lim = &m->actions_limits[i];
+ struct rspamd_action_config *action_lim = &m->actions_config[i];
if (!isnan (action_lim->cur_limit) &&
!(action_lim->action->flags & (RSPAMD_ACTION_NO_THRESHOLD|RSPAMD_ACTION_HAM))) {
- return m->actions_limits[i].cur_limit;
+ return m->actions_config[i].cur_limit;
}
}