summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/chatwindow.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 7fc059f5c..0d52dad14 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1662,8 +1662,11 @@ bool ChatWindow::resortChatLog(std::string line,
{
replaceAll(tmpNick, "#", "_");
replaceAll(tmpNick, "%", "_");
- // TRANSLATORS: error message
- line = _("Broken nick detected: ") + line;
+ if (Net::getNetworkType() == ServerType::TMWATHENA)
+ {
+ // TRANSLATORS: error message
+ line = _("Broken nick detected: ") + line;
+ }
own = ChatMsgType::BY_SERVER;
}
const size_t idx = line.find(": \302\202");