summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
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);
}
}