summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-19 00:43:41 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-19 00:43:41 +0300
commit2a09c2afe8bd1f476ef1901c9c639896534a081c (patch)
tree89a87faffaf2792cae734c97a1eb01772b996d70 /src/localplayer.cpp
parente63b10c3a63d93b9a6dfa144624fea8610d7768c (diff)
downloadmanaverse-2a09c2afe8bd1f476ef1901c9c639896534a081c.tar.gz
manaverse-2a09c2afe8bd1f476ef1901c9c639896534a081c.tar.bz2
manaverse-2a09c2afe8bd1f476ef1901c9c639896534a081c.tar.xz
manaverse-2a09c2afe8bd1f476ef1901c9c639896534a081c.zip
Add option to enable/disable gm tab.
Enabled by default.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 43c15428a..003bf4133 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -395,7 +395,7 @@ void LocalPlayer::setGMLevel(const int level)
if (chatWindow)
{
chatWindow->loadGMCommands();
- if (!gmChatTab)
+ if (!gmChatTab && config.getBoolValue("enableGmTab"))
gmChatTab = new GmTab(chatWindow);
}
}