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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua_worker.c b/src/lua_worker.c
index b74b8d422..63086670a 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -350,7 +350,8 @@ start_lua_worker (struct rspamd_worker *worker)
ctx->ev_base = rspamd_prepare_worker (worker,
"lua_worker",
- lua_accept_socket);
+ lua_accept_socket,
+ TRUE);
L = worker->srv->cfg->lua_state;
ctx->L = L;