diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-23 17:52:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-23 17:52:46 +0000 |
commit | 45b07a069108d661f7d3b63b040e4db5166a2dd8 (patch) | |
tree | a7905796cc4d41f5b10fe735232bed1d8ea55828 /src/inspircd.cpp | |
parent | b8e97ead2880337ea270ed36b785b6103c46a5c2 (diff) |
Output buffering on server connections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1475 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ef9835fd4..132832bc1 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2881,6 +2881,8 @@ int InspIRCd(char** argv, int argc) std::deque<std::string> sums; for (int x = 0; x < SERVERportCount; x++) { + if (me[x]) + me[x]->FlushWriteBuffers(); sums.clear(); msgs.clear(); while ((me[x]) && (me[x]->RecvPacket(msgs, tcp_host, sums))) // returns 0 or more lines (can be multiple lines!) |