aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua_worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_worker.c')
-rw-r--r--src/lua_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c
index 8b04b8838..e9b06f508 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -454,7 +454,7 @@ start_lua_worker (struct rspamd_worker *worker)
event_base_set (ctx->ev_base, &worker->sig_ev_usr1);
signal_add (&worker->sig_ev_usr1, NULL);
- ctx->resolver = dns_resolver_init (ctx->ev_base, worker->srv->cfg);
+ ctx->resolver = dns_resolver_init (worker->srv->logger, ctx->ev_base, worker->srv->cfg);
/* Open worker's lib */
luaopen_lua_worker (L);