diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-26 14:21:47 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-26 15:00:02 +0000 |
commit | e96cab20b996c1555ba0e5748057649c5ab82d8d (patch) | |
tree | 9523cbe6a0668cc1506c5698cea224fe8cc65c55 /src/lua/lua_common.c | |
parent | 36e960ed741e3b908469e194c8cff1d3dc666220 (diff) | |
download | rspamd-e96cab20b996c1555ba0e5748057649c5ab82d8d.tar.gz rspamd-e96cab20b996c1555ba0e5748057649c5ab82d8d.zip |
[Rework] Another paths rework
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r-- | src/lua/lua_common.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index db1f5357e..a5ae37e2e 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -332,14 +332,11 @@ rspamd_lua_set_path (lua_State *L, const ucl_object_t *cfg_obj, GHashTable *vars "%s/?.lua;" "%s/?.lua;" "%s/?/init.lua;" - "%s/rspamd/?.lua;" "%s;" "%s", RSPAMD_CONFDIR, rulesdir, lualibdir, lualibdir, - /* Rspamd specific: lualib/rspamd */ - lualibdir, additional_path, old_path); } else { @@ -348,12 +345,10 @@ rspamd_lua_set_path (lua_State *L, const ucl_object_t *cfg_obj, GHashTable *vars "%s/?.lua;" "%s/?.lua;" "%s/?/init.lua;" - "%s/rspamd/?.lua;" "%s", - RSPAMD_CONFDIR, rulesdir, + RSPAMD_CONFDIR, + rulesdir, lualibdir, lualibdir, - /* Rspamd specific: lualib/rspamd */ - lualibdir, old_path); } |