summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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