From c27ed2ed81b40b019fc72cc155f011914116a803 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Thu, 5 Aug 2021 08:02:55 +0200 Subject: [PATCH] Log: CONFIG_LOADED / CONFIG_NOT_LOADED --- src/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.c b/src/conf.c index e9056cead..c550224a3 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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;