summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-14 18:33:59 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-14 18:33:59 +0300
commit0b861120e4496f64c8014c7f7b3d0a8938cc7d51 (patch)
tree095bc7b9b9d50fc56b1fd3b2b19696d17780578e /src/game.cpp
parentf86221f5fe1bc54b3e643169d510b01f991e5f04 (diff)
downloadmanaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.gz
manaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.bz2
manaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.xz
manaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.zip
Add support for #gm channel for gm tab.
In legacy servers it will use @wgm as before.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 22db1dc1f..128497609 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -273,7 +273,7 @@ static void createGuiWindows()
if (localPlayer && !gmChatTab && config.getBoolValue("enableGmTab")
&& localPlayer->getGMLevel() > 0)
{
- gmChatTab = new GmTab(chatWindow);
+ chatWindow->addSpecialChannelTab(GM_CHANNEL, false);
}
if (!isSafeMode && chatWindow)