diff options
author | Darkvater <darkvater@openttd.org> | 2005-10-19 19:38:35 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-10-19 19:38:35 +0000 |
commit | e611fee4e50ac5447e5ede0a78d578c031530a6a (patch) | |
tree | 642308a8906862b991147b781f65099cb90bbcea /network_server.c | |
parent | ece9b9b2b6a2feb43c9215c3073e2c09f9f72ae9 (diff) | |
download | openttd-e611fee4e50ac5447e5ede0a78d578c031530a6a.tar.xz |
(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
Diffstat (limited to 'network_server.c')
-rw-r--r-- | network_server.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/network_server.c b/network_server.c index 28d32475d..cbfa0c19e 100644 --- a/network_server.c +++ b/network_server.c @@ -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 |