aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r--src/libserver/cfg_rcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 5f9d56a20..d32fa1919 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -900,7 +900,7 @@ rspamd_rcl_set_lua_globals (struct rspamd_config *cfg, lua_State *L,
/* Clear stack from globals */
lua_pop (L, 4);
- rspamd_lua_set_path (L, cfg, vars);
+ rspamd_lua_set_path (L, cfg->rcl_obj, vars);
/* Set known paths as rspamd_paths global */
lua_getglobal (L, "rspamd_paths");