diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-17 12:55:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-17 12:55:51 +0000 |
commit | 77d65b7266828dccdec909d352f2c1238e970e4b (patch) | |
tree | 202b66617fb28e6da04db5e58f9e8e7b39286451 /src/libserver | |
parent | f3addee53d27e0ed9ddeab5e5215378ba951baa7 (diff) | |
download | rspamd-77d65b7266828dccdec909d352f2c1238e970e4b.tar.gz rspamd-77d65b7266828dccdec909d352f2c1238e970e4b.zip |
Set lua path for lua configuration.
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/cfg_rcl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 4ea7c17ed..6c309d4dd 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -664,6 +664,8 @@ rspamd_rcl_set_lua_globals (struct rspamd_config *cfg, lua_State *L) /* Clear stack from globals */ lua_pop (L, 4); + + rspamd_lua_set_path (L, cfg); } static gboolean |