summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-12 22:47:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-12 22:47:53 +0300
commitcb462bb18da734c7d1e4023f6b5ba38e38678f6b (patch)
treee1cde7e77d68343742da4b098ea2dcc2b32bcc8a /src/gui
parentb8cdf9c5dfc3b499708bd3a23e6934fd46fd047e (diff)
downloadmanaplus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.tar.gz
manaplus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.tar.bz2
manaplus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.tar.xz
manaplus-cb462bb18da734c7d1e4023f6b5ba38e38678f6b.zip
Dont highlight server messages in chat channels.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp
index de3713482..82be62c8d 100644
--- a/src/gui/widgets/tabs/chat/chattab.cpp
+++ b/src/gui/widgets/tabs/chat/chattab.cpp
@@ -298,8 +298,10 @@ void ChatTab::chatLog(std::string line,
mScrollArea->logic();
if (own != ChatMsgType::BY_PLAYER)
{
- if (own == ChatMsgType::BY_SERVER && (getType() == ChatTabType::PARTY
- || getType() == ChatTabType::GUILD))
+ if (own == ChatMsgType::BY_SERVER &&
+ (getType() == ChatTabType::PARTY ||
+ getType() == ChatTabType::CHANNEL ||
+ getType() == ChatTabType::GUILD))
{
return;
}