From: <ps...@us...> - 2009-03-15 07:44:14
|
Revision: 1429 http://znc.svn.sourceforge.net/znc/?rev=1429&view=rev Author: psychon Date: 2009-03-15 07:44:07 +0000 (Sun, 15 Mar 2009) Log Message: ----------- Remove a pretty much useless usleep() on shutdown Modified Paths: -------------- trunk/ClientCommand.cpp Modified: trunk/ClientCommand.cpp =================================================================== --- trunk/ClientCommand.cpp 2009-03-14 18:17:42 UTC (rev 1428) +++ trunk/ClientCommand.cpp 2009-03-15 07:44:07 UTC (rev 1429) @@ -210,8 +210,6 @@ } CZNC::Get().Broadcast(sMessage); - usleep(100000); // Sleep for 10ms to attempt to allow the previous Broadcast() to go through to all users - throw CException(CException::EX_Shutdown); } else if (m_pUser->IsAdmin() && sCommand.Equals("RESTART")) { CString sMessage = sLine.Token(1, true); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |