summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-12 19:32:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-12 21:12:24 +0300
commit03948f9bc58477100c61c11651290bee372dab5f (patch)
tree3714e87d59c3bca2ef02d1f405abba24f8bb9757 /src/gui/windows/chatwindow.cpp
parentacedb80af76334b0e0acd877d3de0ab8ab46a576 (diff)
downloadManaVerse-03948f9bc58477100c61c11651290bee372dab5f.tar.gz
ManaVerse-03948f9bc58477100c61c11651290bee372dab5f.tar.bz2
ManaVerse-03948f9bc58477100c61c11651290bee372dab5f.tar.xz
ManaVerse-03948f9bc58477100c61c11651290bee372dab5f.zip
Rename gm level into group id in localplayer.cpp
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 279d1c712..0c7123631 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -2139,7 +2139,7 @@ void ChatWindow::showGMTab()
{
if ((gmChatTab == nullptr) &&
config.getBoolValue("enableGmTab") &&
- localPlayer->getGMLevel() >= paths.getIntValue("gmTabMinimalLevel"))
+ localPlayer->getGroupId() >= paths.getIntValue("gmTabMinimalLevel"))
{
addSpecialChannelTab(GM_CHANNEL, false);
}