From 52f4b73c3fc59786eef51c178f6513bcfd6e718d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 21 Feb 2018 10:54:46 +0000 Subject: [PATCH] [Minor] Set lua path in stat_convert --- src/rspamadm/stat_convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5