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.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/gmtab.cpp b/src/gui/widgets/tabs/chat/gmtab.cpp
index 567aeeb4a..db1e6a98d 100644
--- a/src/gui/widgets/tabs/chat/gmtab.cpp
+++ b/src/gui/widgets/tabs/chat/gmtab.cpp
@@ -30,7 +30,7 @@ GmTab *gmChatTab = nullptr;
GmTab::GmTab(const Widget2 *const widget) :
// TRANSLATORS: gb tab name
- ChatTab(widget, _("GM"), "", ChatTabType::GM)
+ ChatTab(widget, _("GM"), "", "#GM", ChatTabType::GM)
{
setTabColors(Theme::GM_CHAT_TAB);
}
@@ -48,12 +48,6 @@ void GmTab::handleCommand(const std::string &msg A_UNUSED)
{
}
-void GmTab::saveToLogFile(const std::string &msg) const
-{
- if (chatLogger)
- chatLogger->log("#GM", msg);
-}
-
void GmTab::getAutoCompleteList(StringVect &names A_UNUSED) const
{
}