(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:
Darkvater
2005-10-19 19:38:35 +00:00
parent ece9b9b2b6
commit e611fee4e5
3 changed files with 14 additions and 9 deletions

View File

@@ -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