From 0c1c6b5df196443b18e9e0ef2e9ef3de350a7234 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 May 2017 18:43:49 +0300 Subject: Fix wrong checks after removing some server features. --- src/gui/windows/chatwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/chatwindow.cpp') diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 1e10c08bb..45353fdc7 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1299,7 +1299,7 @@ ChatTab *ChatWindow::addChatTab(const std::string &name, const bool switchTo, const bool join) { - if (Net::getNetworkType() == ServerType::EATHENA && + if (Net::getNetworkType() != ServerType::TMWATHENA && name.size() > 1 && name[0] == '#') { @@ -1697,7 +1697,7 @@ bool ChatWindow::resortChatLog(std::string line, tryRemoveColors); } } - else if (Net::getNetworkType() == ServerType::EATHENA) + else if (Net::getNetworkType() != ServerType::TMWATHENA) { channelChatLog(channel, line, own, ignoreRecord, tryRemoveColors); return false; -- cgit v1.2.3-70-g09d2