diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 15:28:14 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 15:28:14 +0200 |
commit | 72c087cfd335b015139cb73ae78f74105d855cf0 (patch) | |
tree | ec700e5083a60e03ad8374e12f4528de8c92491e /src/ClientHandle.cpp | |
parent | Merge pull request #1456 from Howaner/Fixes (diff) | |
download | cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.gz cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.bz2 cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.lz cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.xz cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.tar.zst cuberite-72c087cfd335b015139cb73ae78f74105d855cf0.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 878d309c9..9858aa991 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1741,20 +1741,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) |