diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:50:28 +0300 |
commit | 616ab2676cc932ab59152c510d584c429090987a (patch) | |
tree | 9184b8836b51a073f67ee60a46043084687207a7 /src/game.cpp | |
parent | 4b397f4c8e2b0c8d636cc2782d9571567473975b (diff) | |
download | plus-616ab2676cc932ab59152c510d584c429090987a.tar.gz plus-616ab2676cc932ab59152c510d584c429090987a.tar.bz2 plus-616ab2676cc932ab59152c510d584c429090987a.tar.xz plus-616ab2676cc932ab59152c510d584c429090987a.zip |
Remove getter for serverFeatures.
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 44bb258bb..ca778a071 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -239,7 +239,7 @@ static void createGuiWindows() if (config.getBoolValue("showChatHistory")) localChatTab->loadFromLogFile("#General"); - if (Net::getServerFeatures()->haveLangTab() + if (serverFeatures->haveLangTab() && serverConfig.getValue("enableLangTab", 1)) { const std::string lang = getLangShort(); |