aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-03 16:49:59 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-03 16:49:59 +0100
commit88c10484ff3802b59d8bcc7e9832e9fe97c9bb89 (patch)
tree91875a3a0fe7c13957c606c1842b3e5e071697a3
parent5dea259459069c35a6afe94304810fe5365cd819 (diff)
downloadrspamd-88c10484ff3802b59d8bcc7e9832e9fe97c9bb89.tar.gz
rspamd-88c10484ff3802b59d8bcc7e9832e9fe97c9bb89.zip
[CritFix] Pre-filters and post-filters were completely broken
-rw-r--r--src/lua/lua_config.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c
index fb84c4988..15733ec14 100644
--- a/src/lua/lua_config.c
+++ b/src/lua/lua_config.c
@@ -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;