]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Set lua path in rspamadm control to fix fuzzystat
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 30 Mar 2018 09:03:24 +0000 (10:03 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 30 Mar 2018 09:03:24 +0000 (10:03 +0100)
src/rspamadm/control.c

index a65ff554c93d7d0b8df162013543649fb358cd06..35cecbc69e55077c4de7f347dfba1666c2d7de6d 100644 (file)
@@ -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,