diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-22 21:10:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-22 21:10:04 +0300 |
commit | 0fcce97fe86721f4b426250a32f461ad951f6d99 (patch) | |
tree | 06180a6d07aa567355b4986d1ffb6cc2102cdb14 /src/game.cpp | |
parent | 0384e13f0faf26e4b2716c3a16d2518bb23fba42 (diff) | |
download | manaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.gz manaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.bz2 manaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.xz manaplus-0fcce97fe86721f4b426250a32f461ad951f6d99.zip |
Add option to enable/disable language chat tab.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 5eed2bd38..58cc9343e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -260,7 +260,7 @@ static void createGuiWindows() if (config.getBoolValue("showChatHistory")) localChatTab->loadFromLogFile("#General"); - if (serverVersion >= 8) + if (serverVersion >= 8 && serverConfig.getValue("enableLangTab", true)) { const std::string lang = getLangShort(); if (lang.size() == 2) |