Browse Source

[Minor] Another try to fix action output

tags/1.7.1
Vsevolod Stakhov 6 years ago
parent
commit
6d8158e23a
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/libmime/filter.c

+ 4
- 0
src/libmime/filter.c View File

@@ -378,6 +378,10 @@ rspamd_check_action_metric (struct rspamd_task *task, struct rspamd_metric_resul
max_score = sc;
}
}

if (set_action && selected_action == NULL) {
selected_action = &task->cfg->actions[METRIC_ACTION_NOACTION];
}
}
else {
sc = NAN;

Loading…
Cancel
Save