From bd20bdda21a242f0a54da327bf08049562078a9b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 8 Dec 2019 22:29:49 +0000 Subject: Show the header before checking if the config file exists. --- src/inspircd.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 95ddca394..f35da105d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -454,6 +454,10 @@ InspIRCd::InspIRCd(int argc, char** argv) Logs->AddLogTypes("*", fls, true); } + std::cout << con_green << "InspIRCd - Internet Relay Chat Daemon" << con_reset << std::endl + << "See " << con_green << "/INFO" << con_reset << " for contributors & authors" << std::endl + << std::endl; + if (!FindConfigFile(ConfigFileName)) { this->Logs->Log("STARTUP", LOG_DEFAULT, "Unable to open config file %s", ConfigFileName.c_str()); @@ -461,11 +465,6 @@ InspIRCd::InspIRCd(int argc, char** argv) Exit(EXIT_STATUS_CONFIG); } - std::cout << con_green << "InspIRCd - Internet Relay Chat Daemon" << con_reset << std::endl; - std::cout << "For contributors & authors: " << con_green << "See /INFO Output" << con_reset << std::endl; - - - #ifndef _WIN32 if (!do_root) this->CheckRoot(); -- cgit v1.3.1-10-gc9f91