1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 02:03:13 +02:00

Log: CONFIG_LOADED / CONFIG_NOT_LOADED

This commit is contained in:
Bram Matthys
2021-08-05 08:02:55 +02:00
parent 4a62e6ddaa
commit c27ed2ed81
+2 -2
View File
@@ -2232,7 +2232,7 @@ int init_conf(char *rootconf, int rehash)
}
else
{
config_error("IRCd configuration failed to load");
unreal_log(ULOG_ERROR, "config", "CONFIG_NOT_LOADED", NULL, "IRCd configuration failed to load");
Unload_all_testing_modules();
unload_notloaded_includes();
config_free(conf);
@@ -2252,7 +2252,7 @@ int init_conf(char *rootconf, int rehash)
RunHook0(HOOKTYPE_REHASH_COMPLETE);
}
postconf();
config_status("Configuration loaded.");
unreal_log(ULOG_INFO, "config", "CONFIG_LOADED", NULL, "Configuration loaded");
clicap_post_rehash();
unload_all_unused_mtag_handlers();
return 0;