summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-22 21:10:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-22 21:10:04 +0300
commit0fcce97fe86721f4b426250a32f461ad951f6d99 (patch)
tree06180a6d07aa567355b4986d1ffb6cc2102cdb14 /src/game.cpp
parent0384e13f0faf26e4b2716c3a16d2518bb23fba42 (diff)
downloadManaVerse-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.gz
ManaVerse-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.bz2
ManaVerse-0fcce97fe86721f4b426250a32f461ad951f6d99.tar.xz
ManaVerse-0fcce97fe86721f4b426250a32f461ad951f6d99.zip
Add option to enable/disable language chat tab.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
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)