diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-14 18:33:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-14 18:33:59 +0300 |
commit | 0b861120e4496f64c8014c7f7b3d0a8938cc7d51 (patch) | |
tree | 095bc7b9b9d50fc56b1fd3b2b19696d17780578e /src/game.cpp | |
parent | f86221f5fe1bc54b3e643169d510b01f991e5f04 (diff) | |
download | manaverse-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.gz manaverse-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.bz2 manaverse-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.xz manaverse-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.cpp | 2 |
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) |