diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-31 18:29:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-31 18:29:12 +0300 |
commit | 0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2 (patch) | |
tree | bfed7c73b8d63bcfaaa411e031bb5ab231807b72 /src/gamemodifiers.cpp | |
parent | 0249e0c48bfcac25abe46fbaf61103df0984b832 (diff) | |
download | mv-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.tar.gz mv-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.tar.bz2 mv-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.tar.xz mv-0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2.zip |
Move away message to per server configuration file.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 2 |
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, |