summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-02 18:50:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-02 18:50:13 +0000
commit9543f33d3cb292f51997bce38b789ab3f690d03e (patch)
treeb1dd081d04a49444a6cbd9eeedc95638671ebb51
parent52671661f8fdca0b61aec8009b4bc7de9bc00166 (diff)
Move this message so it actually displays when we're running non-debug: "InspIRCd is now running as 'test.chatspike.net'[037] with 5576 max open sockets"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9274 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index a512ae256..cd13087cf 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -545,6 +545,9 @@ InspIRCd::InspIRCd(int argc, char** argv)
printf("%d.\tIP: %s\tPort: %lu\n", j, i->first.empty() ? "<all>" : i->first.c_str(), (unsigned long)i->second);
}
}
+
+ printf("\nInspIRCd is now running as '%s'[%s] with %d max open sockets\n", Config->ServerName,Config->GetSID().c_str(), SE->GetMaxFds());
+
#ifndef WINDOWS
if (!Config->nofork)
{
@@ -581,7 +584,6 @@ InspIRCd::InspIRCd(int argc, char** argv)
}
#endif
- printf("\nInspIRCd is now running as '%s'[%s] with %d max open sockets\n", Config->ServerName,Config->GetSID().c_str(), SE->GetMaxFds());
Logs->Log("STARTUP", DEFAULT, "Startup complete as '%s'[%s], %d max open sockets", Config->ServerName,Config->GetSID().c_str(), SE->GetMaxFds());
this->WritePID(Config->PID);