summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-31 18:29:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-31 18:29:12 +0300
commit0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2 (patch)
treebfed7c73b8d63bcfaaa411e031bb5ab231807b72 /src/gamemodifiers.cpp
parent0249e0c48bfcac25abe46fbaf61103df0984b832 (diff)
downloadmanaverse-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.tar.gz
manaverse-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.tar.bz2
manaverse-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.tar.xz
manaverse-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.zip
Move away message to per server configuration file.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r--src/gamemodifiers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp
index e55c4060f..b55e662c6 100644
--- a/src/gamemodifiers.cpp
+++ b/src/gamemodifiers.cpp
@@ -446,7 +446,7 @@ void GameModifiers::changeAwayMode(const bool forward A_UNUSED)
OkDialog *const dialog = CREATEWIDGETR(OkDialog,
// TRANSLATORS: away message box header
_("Away"),
- config.getStringValue("afkMessage"),
+ serverConfig.getValue("afkMessage", "I am away from keyboard."),
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::SILENCE,