(svn r23957) -Fix [FS#4990]: allow sending chat to pre-active clients as the clients start accepting once they send 'map ok' to the server, which is the same moment we change their status to pre-active

This commit is contained in:
rubidium 2012-02-16 20:44:03 +00:00
parent 9941b4386e
commit c5f7a0f69d
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::SendCommand(const CommandPacke
*/
NetworkRecvStatus ServerNetworkGameSocketHandler::SendChat(NetworkAction action, ClientID client_id, bool self_send, const char *msg, int64 data)
{
if (this->status != STATUS_ACTIVE) return NETWORK_RECV_STATUS_OKAY;
if (this->status < STATUS_PRE_ACTIVE) return NETWORK_RECV_STATUS_OKAY;
Packet *p = new Packet(PACKET_SERVER_CHAT);