aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 0094907a7..cee241bbc 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -387,11 +387,11 @@ rspamd_config_post_load (struct rspamd_config *cfg)
(void)rspamd_lua_post_load_config (cfg);
init_dynamic_config (cfg);
- rspamd_stat_init (rspamd_main->cfg);
- rspamd_url_init (rspamd_main->cfg->tld_file);
+ rspamd_stat_init (cfg);
+ rspamd_url_init (cfg->tld_file);
/* Insert classifiers symbols */
- (void)rspamd_config_insert_classify_symbols (rspamd_main->cfg);
+ (void)rspamd_config_insert_classify_symbols (cfg);
}
#if 0