From 2241f009d34a1c67a87723210e9d7cd6892f8646 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 26 Aug 2012 02:52:15 +0300 Subject: Allow enter special chars in chat in tmw server. Before this function was blocked only for tmw server because oficial clients was crashed after show crafted unicode chars. Example: test &33; test fill show in chat: test ! test --- src/gui/chatwindow.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index c69e7b8a2..590946c4e 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -1571,9 +1571,6 @@ void ChatWindow::saveState() std::string ChatWindow::doReplace(const std::string &msg) { - if (Client::isTmw()) - return msg; - std::string str = msg; replaceSpecialChars(str); return str; -- cgit v1.2.3-60-g2f50