summaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c
index cbd234492..427609458 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -38,7 +38,7 @@
#include "map.h"
#include "dns.h"
-#include "evdns/evdns.h"
+#include "lua/lua_common.h"
#ifndef WITHOUT_PERL
# include <EXTERN.h> /* from the Perl distribution */
@@ -359,6 +359,7 @@ read_socket (f_str_t * in, void *arg)
}
else {
process_statfiles (task);
+ lua_call_post_filters (task);
return write_socket (task);
}
break;
@@ -666,7 +667,6 @@ start_worker (struct rspamd_worker *worker)
worker->srv->pid = getpid ();
event_init ();
- evdns_init ();
init_signals (&signals, sig_handler);
sigprocmask (SIG_UNBLOCK, &signals.sa_mask, NULL);