1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 08:16:39 +02:00

Temporary fix for /os restart with m_async_commands loaded, is fixed properly in 1.9.5

This commit is contained in:
Adam
2011-04-29 18:03:04 -04:00
parent 7da33344d1
commit 036b3c9053
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -522,7 +522,7 @@ bool BufferedSocket::ProcessWrite()
if (this->WriteBuffer.empty())
return true;
int count = this->IO->Send(this, this->WriteBuffer);
if (count == -1)
if (count <= -1)
return false;
this->WriteBuffer = this->WriteBuffer.substr(count);
if (this->WriteBuffer.empty())