summaryrefslogtreecommitdiffstats
path: root/source/cServer.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-26 00:48:28 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-26 00:48:28 +0100
commita14e015354611a50920a0861f80c9691ab8fa633 (patch)
tree49e573603f5cff7dc551fa79d08e1d801ef3d8ca /source/cServer.cpp
parentMade the viewdistance settable by users and default in settings.ini. The default is 9. (diff)
downloadcuberite-a14e015354611a50920a0861f80c9691ab8fa633.tar
cuberite-a14e015354611a50920a0861f80c9691ab8fa633.tar.gz
cuberite-a14e015354611a50920a0861f80c9691ab8fa633.tar.bz2
cuberite-a14e015354611a50920a0861f80c9691ab8fa633.tar.lz
cuberite-a14e015354611a50920a0861f80c9691ab8fa633.tar.xz
cuberite-a14e015354611a50920a0861f80c9691ab8fa633.tar.zst
cuberite-a14e015354611a50920a0861f80c9691ab8fa633.zip
Diffstat (limited to 'source/cServer.cpp')
-rw-r--r--source/cServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cServer.cpp b/source/cServer.cpp
index 8462fa915..97bcffaae 100644
--- a/source/cServer.cpp
+++ b/source/cServer.cpp
@@ -102,7 +102,7 @@ void cServer::ServerListenThread( void *a_Args )
void cServer::ClientDestroying(const cClientHandle * a_Client)
{
- m_SocketThreads.RemoveClient(a_Client);
+ m_SocketThreads.StopReading(a_Client);
}