summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-04-30 12:09:26 +0000
committerrubidium <rubidium@openttd.org>2011-04-30 12:09:26 +0000
commit1c1e9f69419aa49bfae9fd2975957d4e0b890fb8 (patch)
treeb40ece3d3a62309a7193bc9bf95087b9f0bd5ef5 /src/network
parent1ffd720f81d917126e1f15ef2b8edac21484adcf (diff)
downloadopenttd-1c1e9f69419aa49bfae9fd2975957d4e0b890fb8.tar.xz
(svn r22384) -Fix [FS#4585]: No client error packet was sent to the admin bots
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index 6fbb8a284..1a14623b8 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -240,6 +240,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::CloseConnection(NetworkRecvSta
}
}
+ NetworkAdminClientError(this->client_id, NETWORK_ERROR_CONNECTION_LOST);
DEBUG(net, 1, "Closed client connection %d", this->client_id);
/* We just lost one client :( */