summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-04 21:05:35 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-04 21:05:35 +0200
commite3d5da24091bad6043d7eef00f8f297bf1203ab5 (patch)
tree409ee30de2e9df0c46f0d4043149d01616a520e1 /source/cClientHandle.h
parentFixed preprocessor definitions in Linux (diff)
downloadcuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.gz
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.bz2
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.lz
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.xz
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.zst
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.zip
Diffstat (limited to 'source/cClientHandle.h')
-rw-r--r--source/cClientHandle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h
index ba9cde7f5..ab4e3e64c 100644
--- a/source/cClientHandle.h
+++ b/source/cClientHandle.h
@@ -60,8 +60,8 @@ public:
cClientHandle(const cSocket & a_Socket, int a_ViewDistance);
~cClientHandle();
- const cSocket & GetSocket(void) const {return m_Socket; }
- cSocket & GetSocket(void) {return m_Socket; }
+ cSocket & GetSocket (void) { return m_Socket; }
+ const AString & GetIPString(void) const { return m_Socket.GetIPString(); }
cPlayer* GetPlayer() { return m_Player; } // tolua_export