diff options
Diffstat (limited to '')
-rw-r--r-- | src/chat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chat.cpp b/src/chat.cpp index 809d4e422..495e3450b 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -679,6 +679,9 @@ ChatBackend::~ChatBackend() void ChatBackend::addMessage(std::wstring name, std::wstring text) { + name = removeChatEscapes(name); + text = removeChatEscapes(text); + // Note: A message may consist of multiple lines, for example the MOTD. WStrfnd fnd(text); while (!fnd.atend()) |