Browse Source

[CritFix] Pre-filters and post-filters were completely broken

tags/1.3.0
Vsevolod Stakhov 8 years ago
parent
commit
88c10484ff
1 changed files with 0 additions and 16 deletions
  1. 0
    16
      src/lua/lua_config.c

+ 0
- 16
src/lua/lua_config.c View File

@@ -671,14 +671,6 @@ rspamd_lua_call_post_filters (struct rspamd_task *task)
struct rspamd_task **ptask;
GList *cur;

if (task->checkpoint == NULL) {
task->checkpoint = GUINT_TO_POINTER (0x1);
}
else {
/* Do not process if done */
return;
}

cur = task->cfg->post_filters;
while (cur) {
cd = cur->data;
@@ -751,14 +743,6 @@ rspamd_lua_call_pre_filters (struct rspamd_task *task)
struct rspamd_task **ptask;
GList *cur;

if (task->checkpoint == NULL) {
task->checkpoint = GUINT_TO_POINTER (0x1);
}
else {
/* Do not process if done */
return;
}

cur = task->cfg->pre_filters;
while (cur) {
cd = cur->data;

Loading…
Cancel
Save