(svn r3067) - Feature: allow unbanning players based on banlist-id (as well as IP).
- Feature: 'status' and 'clients' now show the IP of the players
This commit is contained in:
@@ -762,8 +762,6 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_MAP_OK)
|
||||
}
|
||||
}
|
||||
|
||||
static inline const char* GetPlayerIP(const NetworkClientInfo *ci) {return inet_ntoa(*(struct in_addr *)&ci->client_ip);}
|
||||
|
||||
/** Enforce the command flags.
|
||||
* Eg a server-only command can only be executed by a server, etc.
|
||||
* @param *cp the commandpacket that is going to be checked
|
||||
|
||||
Reference in New Issue
Block a user