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 51066624b..c75d275a6 100644
--- a/src/lua_worker.c
+++ b/src/lua_worker.c
@@ -493,7 +493,7 @@ start_lua_worker (struct rspamd_worker *worker)
}
/* Maps events */
- start_map_watch (ctx->ev_base);
+ start_map_watch (worker->srv->cfg, ctx->ev_base);
event_base_loop (ctx->ev_base, 0);
luaL_unref (L, LUA_REGISTRYINDEX, ctx->cbref_accept);