summaryrefslogtreecommitdiffstats
path: root/source/cSocket.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-02 08:47:19 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-02 08:47:19 +0100
commit865216b15a4cfb836dddcb9bf66532b4f46497a3 (patch)
tree789c307051468c4aa0bf030e417fff03cac3a2a1 /source/cSocket.h
parentRewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; (diff)
downloadcuberite-865216b15a4cfb836dddcb9bf66532b4f46497a3.tar
cuberite-865216b15a4cfb836dddcb9bf66532b4f46497a3.tar.gz
cuberite-865216b15a4cfb836dddcb9bf66532b4f46497a3.tar.bz2
cuberite-865216b15a4cfb836dddcb9bf66532b4f46497a3.tar.lz
cuberite-865216b15a4cfb836dddcb9bf66532b4f46497a3.tar.xz
cuberite-865216b15a4cfb836dddcb9bf66532b4f46497a3.tar.zst
cuberite-865216b15a4cfb836dddcb9bf66532b4f46497a3.zip
Diffstat (limited to 'source/cSocket.h')
-rw-r--r--source/cSocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cSocket.h b/source/cSocket.h
index 44c3bea4b..395815389 100644
--- a/source/cSocket.h
+++ b/source/cSocket.h
@@ -55,9 +55,9 @@ public:
cSocket Accept();
int Receive( char* a_Buffer, unsigned int a_Length, unsigned int a_Flags );
- char* GetIPString() { return m_IPString; }
+ const AString & GetIPString(void) const { return m_IPString; }
private:
xSocket m_Socket;
- char* m_IPString;
+ AString m_IPString;
}; \ No newline at end of file