mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user