(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.

This commit is contained in:
rubidium
2010-01-14 21:48:42 +00:00
parent 83c8c562bb
commit f89d6bea0e
3 changed files with 10 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ public:
virtual NetworkRecvStatus CloseConnection(bool error = true);
void Send_Packet(Packet *packet);
bool Send_Packets();
bool Send_Packets(bool closing_down = false);
bool IsPacketQueueEmpty();
Packet *Recv_Packet();