summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-13 18:45:29 +0200
committerMattes D <github@xoft.cz>2015-05-13 18:45:29 +0200
commit2cdc2a16e4631c541f0b520f547621a23fe90baa (patch)
tree3e457289a9cb35c7061bf85976d006769f639b7c
parentAll in-game commands go through the OnExecuteCommand hook. (diff)
downloadcuberite-2cdc2a16e4631c541f0b520f547621a23fe90baa.tar
cuberite-2cdc2a16e4631c541f0b520f547621a23fe90baa.tar.gz
cuberite-2cdc2a16e4631c541f0b520f547621a23fe90baa.tar.bz2
cuberite-2cdc2a16e4631c541f0b520f547621a23fe90baa.tar.lz
cuberite-2cdc2a16e4631c541f0b520f547621a23fe90baa.tar.xz
cuberite-2cdc2a16e4631c541f0b520f547621a23fe90baa.tar.zst
cuberite-2cdc2a16e4631c541f0b520f547621a23fe90baa.zip
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 7117229f7..c8ccc1cf5 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1473,7 +1473,7 @@ void cClientHandle::HandleChat(const AString & a_Message)
Color.clear();
}
Msg.AddTextPart(AString("<") + m_Player->GetName() + "> ", Color);
- Msg.ParseText(a_Message);
+ Msg.ParseText(Message);
Msg.UnderlineUrls();
m_Player->GetWorld()->BroadcastChat(Msg);
}