summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guildchattab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/guildchattab.cpp')
-rw-r--r--src/gui/widgets/guildchattab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/guildchattab.cpp b/src/gui/widgets/guildchattab.cpp
index 0ce3cda1c..dd55b3a39 100644
--- a/src/gui/widgets/guildchattab.cpp
+++ b/src/gui/widgets/guildchattab.cpp
@@ -138,13 +138,13 @@ void GuildChatTab::getAutoCompleteList(StringVect &names) const
names.push_back("/notice ");
}
-void GuildChatTab::saveToLogFile(std::string &msg)
+void GuildChatTab::saveToLogFile(const std::string &msg)
{
if (chatLogger)
chatLogger->log("#Guild", msg);
}
-void GuildChatTab::playNewMessageSound()
+void GuildChatTab::playNewMessageSound() const
{
soundManager.playGuiSound(SOUND_GUILD);
}