From 02d75c5336cc21f2be37ac796b28c75659831d03 Mon Sep 17 00:00:00 2001 From: mathiascode <8754153+mathiascode@users.noreply.github.com> Date: Fri, 27 Apr 2018 09:59:03 +0300 Subject: Removed unnecessary disconnect (#4200) --- src/ClientHandle.cpp | 5 ----- 1 file changed, 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(this)); -- cgit v1.2.3