summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-18 21:04:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-18 21:04:56 +0300
commit1dbf1cf1d87a38a327673b69c184ad662bd12cc4 (patch)
tree44ac0a1fa7a0202c8f67088ac07970e27be483a4 /src/being/localplayer.cpp
parent1e91bca70f5f9d6eba3e553827c1e295d483c4a5 (diff)
downloadplus-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.tar.gz
plus-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.tar.bz2
plus-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.tar.xz
plus-1dbf1cf1d87a38a327673b69c184ad662bd12cc4.zip
Add option gmTabMinimalLevel to paths.xml for show gm chat tab.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index e85301754..52201e7fb 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -404,8 +404,7 @@ void LocalPlayer::setGMLevel(const int level)
if (chatWindow)
{
chatWindow->loadGMCommands();
- if (!gmChatTab && config.getBoolValue("enableGmTab"))
- chatWindow->addSpecialChannelTab(GM_CHANNEL, false);
+ chatWindow->showGMTab();
}
}
}