diff options
author | Mattes D <github@xoft.cz> | 2014-09-28 22:04:30 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-28 22:04:30 +0200 |
commit | 8d55cd409e38d8759b61e89a4b3dea678c1e5f98 (patch) | |
tree | b587e2f8d0b1536e1e4ff0d0bc62c998eccd5141 /src/ClientHandle.cpp | |
parent | Merge pull request #1463 from mc-server/sp_docs (diff) | |
parent | Compilation fix (diff) | |
download | cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.gz cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.bz2 cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.lz cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.xz cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.zst cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 3bd48eb3d..bd00c0b9e 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1749,20 +1749,6 @@ void cClientHandle::HandleRespawn(void) -void cClientHandle::HandleDisconnect(const AString & a_Reason) -{ - LOGD("Received d/c packet from %s with reason \"%s\"", m_Username.c_str(), a_Reason.c_str()); - - cRoot::Get()->GetPluginManager()->CallHookDisconnect(*this, a_Reason); - - m_HasSentDC = true; - Destroy(); -} - - - - - void cClientHandle::HandleKeepAlive(int a_KeepAliveID) { if (a_KeepAliveID == m_PingID) |