aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/confighelp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-25 15:35:57 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-25 15:35:57 +0000
commit3fc9ae7f9a254778374ace03e202466b7ddf82a6 (patch)
treec7334112a7e6643eb78d7a2d3d5f469548e764a3 /src/rspamadm/confighelp.c
parent753373b4fd11aaf2396c39950a18c3f141f63e7c (diff)
downloadrspamd-3fc9ae7f9a254778374ace03e202466b7ddf82a6.tar.gz
rspamd-3fc9ae7f9a254778374ace03e202466b7ddf82a6.zip
[Minor] Set ucl vars in rspamadm routines
Diffstat (limited to 'src/rspamadm/confighelp.c')
-rw-r--r--src/rspamadm/confighelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/confighelp.c b/src/rspamadm/confighelp.c
index ac25cd18f..8f208b805 100644
--- a/src/rspamadm/confighelp.c
+++ b/src/rspamadm/confighelp.c
@@ -85,7 +85,7 @@ rspamadm_confighelp_show (struct rspamd_config *cfg, gint argc, gchar **argv,
{
rspamd_fstring_t *out;
- rspamd_lua_set_path (cfg->lua_state, NULL, NULL);
+ rspamd_lua_set_path (cfg->lua_state, NULL, ucl_vars);
out = rspamd_fstring_new ();
if (json) {