changeset 17620:52708d3058df draft

(svn r22384) -Fix [FS#4585]: No client error packet was sent to the admin bots
author rubidium <rubidium@openttd.org>
date Sat, 30 Apr 2011 12:09:26 +0000 (2011-04-30)
parents ae7a736c05b7
children 6bf2acbcbea5
files src/network/network_server.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -240,6 +240,7 @@
 		}
 	}
 
+	NetworkAdminClientError(this->client_id, NETWORK_ERROR_CONNECTION_LOST);
 	DEBUG(net, 1, "Closed client connection %d", this->client_id);
 
 	/* We just lost one client :( */