summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-25 19:59:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-25 19:59:56 +0300
commitbf6ec88a01fa3d7197a3029d1ee1e746ab9c34fb (patch)
tree9e489e970c1634c576cfbb39f9a64e89a20dcd06 /src/being
parent4825dc84e992c8cbbdba44d10afb52f502f64d17 (diff)
downloadmanaverse-bf6ec88a01fa3d7197a3029d1ee1e746ab9c34fb.tar.gz
manaverse-bf6ec88a01fa3d7197a3029d1ee1e746ab9c34fb.tar.bz2
manaverse-bf6ec88a01fa3d7197a3029d1ee1e746ab9c34fb.tar.xz
manaverse-bf6ec88a01fa3d7197a3029d1ee1e746ab9c34fb.zip
eathena: fix join built in channel tabs.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index a6636ba77..17ee2d823 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -48,6 +48,7 @@
#include "input/keyboardconfig.h"
+#include "gui/chatconsts.h"
#include "gui/gui.h"
#include "gui/popupmanager.h"
@@ -408,7 +409,7 @@ void LocalPlayer::setGMLevel(const int level)
{
chatWindow->loadGMCommands();
if (!gmChatTab && config.getBoolValue("enableGmTab"))
- gmChatTab = new GmTab(chatWindow);
+ chatWindow->addSpecialChannelTab(GM_CHANNEL, false);
}
}
}