mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Merge branch '2.0' into 2.1.
This commit is contained in:
@@ -35,6 +35,9 @@ bool BufferedSocket::ProcessRead()
|
||||
|
||||
bool BufferedSocket::ProcessWrite()
|
||||
{
|
||||
if (this->write_buffer.empty())
|
||||
return true;
|
||||
|
||||
int count = this->io->Send(this, this->write_buffer);
|
||||
if (count == 0)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user