summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index bc1cf5bd5..7c07e57cb 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2463,7 +2463,7 @@ void LocalPlayer::tryPingRequest()
}
-void LocalPlayer::setAway(const std::string &message)
+void LocalPlayer::setAway(const std::string &message) const
{
setAfkMessage(message);
GameModifiers::changeAwayMode();
@@ -2487,7 +2487,7 @@ void LocalPlayer::setAfkMessage(std::string message)
}
}
-void LocalPlayer::setPseudoAway(const std::string &message)
+void LocalPlayer::setPseudoAway(const std::string &message) const
{
setAfkMessage(message);
settings.pseudoAwayMode = !settings.pseudoAwayMode;