aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/configdump.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 13:17:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-11-04 13:17:43 +0000
commit041d2e56ebeb880a423eb7f8434cdab4f7efaf68 (patch)
treebfe5553c7b21bbe00aeec9c93ff9f52cde4f9af8 /src/rspamadm/configdump.c
parent3383065b190c63dfaa3ef837572b1b43f80ae841 (diff)
downloadrspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.tar.gz
rspamd-041d2e56ebeb880a423eb7f8434cdab4f7efaf68.zip
[Rework] Simplify lua path initialization
Diffstat (limited to 'src/rspamadm/configdump.c')
-rw-r--r--src/rspamadm/configdump.c3
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;
}