(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

@@ -20,6 +20,8 @@ void NetworkServer_Tick(bool send_frame);
void NetworkServerMonthlyLoop(void);
void NetworkServerYearlyLoop(void);
static inline const char* GetPlayerIP(const NetworkClientInfo *ci) {return inet_ntoa(*(struct in_addr *)&ci->client_ip);}
#endif /* ENABLE_NETWORK */
#endif /* NETWORK_SERVER_H */