From 0b1d9c0c58db75a1d4249f7b0fc3320b4de8cfa2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 31 Oct 2015 18:29:12 +0300 Subject: Move away message to per server configuration file. --- src/gamemodifiers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gamemodifiers.cpp') 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, -- cgit v1.2.3-70-g09d2