diff options
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/worker.c b/src/worker.c index e97454121..263d1eb93 100644 --- a/src/worker.c +++ b/src/worker.c @@ -309,7 +309,6 @@ void start_worker (struct rspamd_worker *worker, int listen_sock) { struct sigaction signals; - int i; #ifdef WITH_PROFILER extern void _start (void), etext (void); @@ -356,11 +355,6 @@ start_worker (struct rspamd_worker *worker, int listen_sock) event_set(&worker->bind_ev, listen_sock, EV_READ | EV_PERSIST, accept_socket, (void *)worker); event_add(&worker->bind_ev, NULL); - /* Perform modules configuring */ - for (i = 0; i < MODULES_NUM; i ++) { - modules[i].module_config_func (worker->srv->cfg); - } - /* Send SIGUSR2 to parent */ kill (getppid (), SIGUSR2); |