summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/gmtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/gmtab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/gmtab.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/chat/gmtab.cpp b/src/gui/widgets/tabs/chat/gmtab.cpp
index a6bca72ed..4db496e76 100644
--- a/src/gui/widgets/tabs/chat/gmtab.cpp
+++ b/src/gui/widgets/tabs/chat/gmtab.cpp
@@ -20,10 +20,11 @@
#include "gui/widgets/tabs/chat/gmtab.h"
-#include "gui/windows/chatwindow.h"
-
+#include "gui/chatconsts.h"
#include "net/chathandler.h"
+#include "gui/windows/chatwindow.h"
+
#include "utils/gettext.h"
#include "debug.h"
@@ -32,7 +33,7 @@ GmTab *gmChatTab = nullptr;
GmTab::GmTab(const Widget2 *const widget) :
// TRANSLATORS: gb tab name
- ChatTab(widget, _("GM"), "", "#gm", ChatTabType::GM)
+ ChatTab(widget, _("GM"), GM_CHANNEL, "#GM", ChatTabType::GM)
{
setTabColors(Theme::GM_CHAT_TAB);
}