summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authormathiascode <8754153+mathiascode@users.noreply.github.com>2018-04-27 08:59:03 +0200
committerMattes D <github@xoft.cz>2018-04-27 08:59:03 +0200
commit02d75c5336cc21f2be37ac796b28c75659831d03 (patch)
tree869a8667fc5c3c358dcc29bb5623ef44189f965a /src/ClientHandle.cpp
parentRemoved duplicate code (#4198) (diff)
downloadcuberite-02d75c5336cc21f2be37ac796b28c75659831d03.tar
cuberite-02d75c5336cc21f2be37ac796b28c75659831d03.tar.gz
cuberite-02d75c5336cc21f2be37ac796b28c75659831d03.tar.bz2
cuberite-02d75c5336cc21f2be37ac796b28c75659831d03.tar.lz
cuberite-02d75c5336cc21f2be37ac796b28c75659831d03.tar.xz
cuberite-02d75c5336cc21f2be37ac796b28c75659831d03.tar.zst
cuberite-02d75c5336cc21f2be37ac796b28c75659831d03.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index e28391fca..87ba9014e 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -136,11 +136,6 @@ cClientHandle::~cClientHandle()
m_Player = nullptr;
}
- if (!m_HasSentDC)
- {
- SendDisconnect("Server shut down? Kthnxbai");
- }
-
m_Protocol.reset();
LOGD("ClientHandle at %p deleted", static_cast<void *>(this));