]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
win32 compile error fix
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 21 Jan 2008 11:38:16 +0000 (11:38 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 21 Jan 2008 11:38:16 +0000 (11:38 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8745 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspircd.cpp

index 5bf287298ba131d4d6200b6b37d8f6b9603ba3b7..339be54d94f7e8bd94010b5631312ba84d465c6e 100644 (file)
@@ -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
                }