1
0
Fork 0

(svn r22372) -Fix (r22364) [FS#4598]: segmentation fault when trying to get the server's IP

release/1.2
rubidium 2011-04-22 19:53:28 +00:00
parent 75b87c554f
commit 380d4b277b
1 changed files with 1 additions and 1 deletions

View File

@ -1986,7 +1986,7 @@ void NetworkPrintClients()
ci->client_id,
ci->client_name,
ci->client_playas + (Company::IsValidID(ci->client_playas) ? 1 : 0),
_network_server ? NetworkClientSocket::GetByClientID(ci->client_id)->GetClientIP() : "");
_network_server ? (ci->client_id == CLIENT_ID_SERVER ? "server" : NetworkClientSocket::GetByClientID(ci->client_id)->GetClientIP()) : "");
}
}