summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/guildtab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-31 00:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-31 00:55:36 +0300
commitecd8811f15034a6c895a81c0153a4b154dbc1061 (patch)
treec451e027766b6e455033eca468e383de95a81fb0 /src/net/ea/gui/guildtab.cpp
parentd4f7f4f688c3660440e0ac0d752ec9db036cdf59 (diff)
downloadplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.gz
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.bz2
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.xz
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.zip
Improve chattab class.
Diffstat (limited to 'src/net/ea/gui/guildtab.cpp')
-rw-r--r--src/net/ea/gui/guildtab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index aa89309b1..38a384629 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -158,13 +158,13 @@ void GuildTab::getAutoCompleteList(StringVect &names) const
names.push_back("/notice ");
}
-void GuildTab::saveToLogFile(std::string &msg)
+void GuildTab::saveToLogFile(const std::string &msg)
{
if (chatLogger)
chatLogger->log("#Guild", msg);
}
-void GuildTab::playNewMessageSound()
+void GuildTab::playNewMessageSound() const
{
soundManager.playGuiSound(SOUND_GUILD);
}