aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/control.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-30 10:03:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-30 10:03:24 +0100
commitfff46f99d09565c2f25188392f3091e827377efe (patch)
treef1e489a3503528d1f7f00f6991987b3aee43db56 /src/rspamadm/control.c
parent814691082a5a06e054d9523c0cd46be2a052737b (diff)
downloadrspamd-fff46f99d09565c2f25188392f3091e827377efe.tar.gz
rspamd-fff46f99d09565c2f25188392f3091e827377efe.zip
[Minor] Set lua path in rspamadm control to fix fuzzystat
Diffstat (limited to 'src/rspamadm/control.c')
-rw-r--r--src/rspamadm/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamadm/control.c b/src/rspamadm/control.c
index a65ff554c..35cecbc69 100644
--- a/src/rspamadm/control.c
+++ b/src/rspamadm/control.c
@@ -235,6 +235,7 @@ rspamadm_control (gint argc, gchar **argv)
}
L = rspamd_lua_init ();
+ rspamd_lua_set_path (L, NULL, ucl_vars);
conn = rspamd_http_connection_new (NULL,
rspamd_control_error_handler,