summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-21 11:38:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-21 11:38:16 +0000
commit94c3952d8e537fa67d18f58ecc001ed805c64735 (patch)
tree5207e9fcceba165488f9ec7572e30f0ceba8753e
parent2c19e69e4713222e94f1837e73dae82850a41d74 (diff)
win32 compile error fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8745 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 5bf287298..339be54d9 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -652,16 +652,7 @@ int InspIRCd::Run()
this->stats->LastCPU = ru.ru_utime;
}
#else
- WindowsIPC->Check();
-
- if(Config->nofork)
- {
- uptime = Time() - startup_time;
- stime = gmtime(&uptime);
- snprintf(window_title, 100, "InspIRCd - %u clients, %u accepted connections - Up %u days, %.2u:%.2u:%.2u",
- LocalUserCount(), stats->statsAccept, stime->tm_yday, stime->tm_hour, stime->tm_min, stime->tm_sec);
- SetConsoleTitle(window_title);
- }
+ WindowsIPC->Check();
#endif
}