diff options
Diffstat (limited to 'src/servers.cpp')
-rw-r--r-- | src/servers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.cpp b/src/servers.cpp index cf5d30f01..891eaf722 100644 --- a/src/servers.cpp +++ b/src/servers.cpp @@ -326,7 +326,7 @@ void serverrec::FlushWriteBuffers() } has_been_netsplit = true; } - if (this->connectors[i].HasBufferedOutput()) + if ((this->connectors[i].HasBufferedOutput()) && (this->connectors[i].GetState() != STATE_DISCONNECTED)) { if (!this->connectors[i].FlushWriteBuf()) { |