summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-12-08 22:29:49 +0000
committerPeter Powell <petpow@saberuk.com>2019-12-08 22:36:13 +0000
commitbd20bdda21a242f0a54da327bf08049562078a9b (patch)
treeb249b2afae1b4d6ca5a4d39b66337a52955c4fe4 /src/inspircd.cpp
parent078f72c1abbd51aaac3ddc32cb79b08bfc6e43c2 (diff)
Show the header before checking if the config file exists.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp9
1 files changed, 4 insertions, 5 deletions
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();