summaryrefslogtreecommitdiff
path: root/src/network/network_server.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-04-22 16:02:21 +0000
committerrubidium <rubidium@openttd.org>2011-04-22 16:02:21 +0000
commitc61abe0019e8763c406f5694e1e6ca21dc663152 (patch)
tree1e4fc97bd220953b21f287ebe6d3c52c9844d851 /src/network/network_server.h
parentcaf02450fb4937f08027903ff17ddc174004c2f2 (diff)
downloadopenttd-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.h2
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);
};