summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/emulateguildtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/emulateguildtab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.cpp b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
index 2d24fee64..1606fbcd3 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.cpp
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
@@ -36,7 +36,7 @@
EmulateGuildTab::EmulateGuildTab(const Widget2 *const widget) :
// TRANSLATORS: guild chat tab name
- ChatTab(widget, _("Guild"), "", ChatTabType::GUILD)
+ ChatTab(widget, _("Guild"), "", "#Guild", ChatTabType::GUILD)
{
setTabColors(Theme::GUILD_CHAT_TAB);
mShowOnline = config.getBoolValue("showGuildOnline");
@@ -90,12 +90,6 @@ void EmulateGuildTab::getAutoCompleteCommands(StringVect &names) const
names.push_back("/notice ");
}
-void EmulateGuildTab::saveToLogFile(const std::string &msg) const
-{
- if (chatLogger)
- chatLogger->log("#Guild", msg);
-}
-
void EmulateGuildTab::playNewMessageSound() const
{
soundManager.playGuiSound(SOUND_GUILD);