(svn r22368) -Codechange: move the IP address field from the ClientInfo to ClientSocket

This commit is contained in:
rubidium
2011-04-22 16:03:48 +00:00
parent 146d532d51
commit 2cae0cd54c
5 changed files with 9 additions and 14 deletions

View File

@@ -212,7 +212,7 @@ NetworkRecvStatus ServerNetworkAdminSocketHandler::SendClientInfo(const NetworkC
const NetworkClientInfo *ci = cs->GetInfo();
p->Send_uint32(ci->client_id);
p->Send_string(const_cast<NetworkAddress &>(ci->client_address).GetHostname());
p->Send_string(const_cast<NetworkAddress &>(cs->client_address).GetHostname());
p->Send_string(ci->client_name);
p->Send_uint8 (ci->client_lang);
p->Send_uint32(ci->join_date);