aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-21 10:54:46 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-21 10:54:46 +0000
commit52f4b73c3fc59786eef51c178f6513bcfd6e718d (patch)
tree6c0c330c49ade30bcfeb743f09812c707efaa7ff /src
parentc89bf0be8e9ffff2bc9fc3f53bd2edf7bd4a6c42 (diff)
downloadrspamd-52f4b73c3fc59786eef51c178f6513bcfd6e718d.tar.gz
rspamd-52f4b73c3fc59786eef51c178f6513bcfd6e718d.zip
[Minor] Set lua path in stat_convert
Diffstat (limited to 'src')
-rw-r--r--src/rspamadm/stat_convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/stat_convert.c b/src/rspamadm/stat_convert.c
index 67d943f7b..e4cf24629 100644
--- a/src/rspamadm/stat_convert.c
+++ b/src/rspamadm/stat_convert.c
@@ -236,7 +236,7 @@ rspamadm_statconvert (gint argc, gchar **argv)
}
L = rspamd_lua_init ();
- rspamd_lua_set_path (L, NULL, NULL);
+ rspamd_lua_set_path (L, obj, ucl_vars);
ucl_object_insert_key (obj, ucl_object_frombool (reset_previous),
"reset_previous", 0, false);