From f47f3a415779a8ce7b707b3a6c998881097e3ada Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 7 Feb 2010 18:28:09 +0000 Subject: (svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated --- src/network/core/tcp_game.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/core') diff --git a/src/network/core/tcp_game.cpp b/src/network/core/tcp_game.cpp index ec41d1327..24a4726ef 100644 --- a/src/network/core/tcp_game.cpp +++ b/src/network/core/tcp_game.cpp @@ -42,6 +42,7 @@ NetworkClientSocket::~NetworkClientSocket() this->command_queue = p; } + if (_redirect_console_to_client == this->client_id) _redirect_console_to_client = INVALID_CLIENT_ID; this->client_id = INVALID_CLIENT_ID; this->status = STATUS_INACTIVE; } -- cgit v1.2.3-54-g00ecf