summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
commit6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch)
treedf4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/being/localplayer.cpp
parent9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff)
downloadmanaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz
manaverse-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip
improve a bit strings declaration.
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 e6332300b..f1c4c49e2 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -3526,8 +3526,8 @@ void LocalPlayer::afkRespond(ChatTab *const tab, const std::string &nick)
if (mAfkTime == 0 || time < mAfkTime
|| time - mAfkTime > awayLimitTimer)
{
- const std::string msg = "*AFK*: "
- + config.getStringValue("afkMessage");
+ const std::string msg("*AFK*: "
+ + config.getStringValue("afkMessage"));
if (!tab)
{