summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libserver/task.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index e6666cd47..cb3d45124 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -685,14 +685,6 @@ rspamd_task_process (struct rspamd_task *task, guint stages)
return TRUE;
}
- if (task->pre_result.action != METRIC_ACTION_MAX) {
- /* Skip all if we have result here */
- task->processed_stages |= RSPAMD_TASK_STAGE_DONE;
- msg_info_task ("skip filters, as pre-filter returned %s action",
- rspamd_action_to_str (task->pre_result.action));
- return TRUE;
- }
-
task->flags |= RSPAMD_TASK_FLAG_PROCESSING;
st = rspamd_task_select_processing_stage (task, stages);