diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 13:17:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 13:17:43 +0000 |
commit | 041d2e56ebeb880a423eb7f8434cdab4f7efaf68 (patch) | |
tree | bfe5553c7b21bbe00aeec9c93ff9f52cde4f9af8 /src/rspamadm/configdump.c | |
parent | 3383065b190c63dfaa3ef837572b1b43f80ae841 (diff) | |
download | rspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.tar.gz rspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.zip |
[Rework] Simplify lua path initialization
Diffstat (limited to 'src/rspamadm/configdump.c')
-rw-r--r-- | src/rspamadm/configdump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c index 720d6bf51..6f320dea1 100644 --- a/src/rspamadm/configdump.c +++ b/src/rspamadm/configdump.c @@ -284,9 +284,10 @@ rspamadm_configdump (gint argc, gchar **argv) } else { /* Do post-load actions */ + rspamd_lua_set_path (cfg->lua_state, cfg->rcl_obj, ucl_vars); rspamd_lua_post_load_config (cfg); - if (!rspamd_init_filters (rspamd_main->cfg, FALSE, ucl_vars)) { + if (!rspamd_init_filters (rspamd_main->cfg, FALSE)) { ret = FALSE; } |