From: Vsevolod Stakhov Date: Sun, 19 Feb 2017 15:59:09 +0000 (+0000) Subject: [Minor] Do not set file vars by default in lua ucl X-Git-Tag: 1.5.0~80 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=016d429d8d45f8043047cc66069ca793e0802da0;p=rspamd.git [Minor] Do not set file vars by default in lua ucl --- diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c index 965dcc9c1..62b0652f5 100644 --- a/contrib/libucl/lua_ucl.c +++ b/contrib/libucl/lua_ucl.c @@ -29,7 +29,6 @@ #include "ucl_internal.h" #include "lua_ucl.h" #include -#include /*** * @module ucl @@ -484,7 +483,7 @@ static int lua_ucl_parser_init (lua_State *L) { struct ucl_parser *parser, **pparser; - int flags = 0; + int flags = UCL_PARSER_NO_FILEVARS; if (lua_gettop (L) >= 1) { flags = lua_tonumber (L, 1);