From 9543f33d3cb292f51997bce38b789ab3f690d03e Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 2 Apr 2008 18:50:13 +0000 Subject: 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 --- src/inspircd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() ? "" : 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); -- cgit v1.2.3