summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-13 21:33:26 +0200
committerMattes D <github@xoft.cz>2015-05-13 21:33:26 +0200
commit06506da0b19aeeaf0c6b1b774285ac4f257cbeaa (patch)
tree75a5343d88e0ba4f6885fe7263a0e13bd280f24c /src/ClientHandle.cpp
parentMerge pull request #2008 from mc-server/InfoDumpLinks (diff)
parentFixed chat message manipulation by plugins. (diff)
downloadcuberite-06506da0b19aeeaf0c6b1b774285ac4f257cbeaa.tar
cuberite-06506da0b19aeeaf0c6b1b774285ac4f257cbeaa.tar.gz
cuberite-06506da0b19aeeaf0c6b1b774285ac4f257cbeaa.tar.bz2
cuberite-06506da0b19aeeaf0c6b1b774285ac4f257cbeaa.tar.lz
cuberite-06506da0b19aeeaf0c6b1b774285ac4f257cbeaa.tar.xz
cuberite-06506da0b19aeeaf0c6b1b774285ac4f257cbeaa.tar.zst
cuberite-06506da0b19aeeaf0c6b1b774285ac4f257cbeaa.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-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);
}