aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 12:48:56 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 12:48:56 +0000
commit366b697603f8178eed4d2386973e9392bbed6cdf (patch)
tree71ddd3f703ef2b3ecb5dcf4b53063f7a5418220e /src/libserver/cfg_rcl.c
parent533b568baf9b04a3c364c6550f19db538bc0e4c5 (diff)
downloadrspamd-366b697603f8178eed4d2386973e9392bbed6cdf.tar.gz
rspamd-366b697603f8178eed4d2386973e9392bbed6cdf.zip
[Minor] Use pure UCL object when setting lua paths
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");