From b999b27e051ada7bf24143a7e072fc97a940faf1 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 10 Aug 2013 17:09:14 +0100 Subject: Removed extra disconnect message There seems to be already one in the HandleDisconnect hook function. --- source/ClientHandle.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/ClientHandle.cpp') diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index 85500a2e4..7605f5251 100644 --- a/source/ClientHandle.cpp +++ b/source/ClientHandle.cpp @@ -1,4 +1,3 @@ - #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "ClientHandle.h" @@ -133,10 +132,6 @@ cClientHandle::~cClientHandle() { // Send the Offline PlayerList packet: World->BroadcastPlayerListItem(*m_Player, false, this); - - // Send the Chat packet: - AString Left(m_Username + " left the game!"); - World->BroadcastChat(Left, this); } if (World != NULL) { -- cgit v1.2.3