diff options
author | rubidium <rubidium@openttd.org> | 2011-04-22 16:02:21 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-04-22 16:02:21 +0000 |
commit | c61abe0019e8763c406f5694e1e6ca21dc663152 (patch) | |
tree | 1e4fc97bd220953b21f287ebe6d3c52c9844d851 /src/network/network_server.h | |
parent | caf02450fb4937f08027903ff17ddc174004c2f2 (diff) | |
download | openttd-c61abe0019e8763c406f5694e1e6ca21dc663152.tar.xz |
(svn r22366) -Codechange: make GetClientIP a function of the server's ClientSocket, after all the Socket is the bit that's associated with the network
Diffstat (limited to 'src/network/network_server.h')
-rw-r--r-- | src/network/network_server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_server.h b/src/network/network_server.h index aa8f6fc13..599ee3abf 100644 --- a/src/network/network_server.h +++ b/src/network/network_server.h @@ -116,6 +116,8 @@ public: return "server"; } + const char *GetClientIP(); + static ServerNetworkGameSocketHandler *GetByClientID(ClientID client_id); }; |