summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-25 04:14:00 +0200
committerarchshift <admin@archshift.com>2014-04-25 04:14:00 +0200
commit0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3 (patch)
treeb0510a726c812f118c0e4830750d69395908cea4 /src/ClientHandle.cpp
parentGiants! (diff)
downloadcuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar
cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.gz
cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.bz2
cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.lz
cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.xz
cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.tar.zst
cuberite-0f7bd9fc7717578d1dcfe7e110adbca6c23da7b3.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 6ff944c01..d7520f969 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1924,6 +1924,8 @@ void cClientHandle::SendBlockChanges(int a_ChunkX, int a_ChunkZ, const sSetBlock
void cClientHandle::SendChat(const AString & a_Message, eMessageType a_ChatPrefix, const AString & a_AdditionalData)
{
+ bool ShouldAppendChatPrefixes = true;
+
if (GetPlayer()->GetWorld() == NULL)
{
cWorld * World = cRoot::Get()->GetWorld(GetPlayer()->GetLoadedWorldName());