From 48cb1b6cc6c5060acc0084255ff53bcf5b2da95d Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 15 Mar 2009 07:44:07 +0000 Subject: [PATCH] Remove a pretty much useless usleep() on shutdown git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1429 726aef4b-f618-498e-8847-2d620e286838 --- ClientCommand.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ClientCommand.cpp b/ClientCommand.cpp index 416a159d..d091599a 100644 --- a/ClientCommand.cpp +++ b/ClientCommand.cpp @@ -210,8 +210,6 @@ void CClient::UserCommand(const CString& sLine) { } 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);