summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-09 13:31:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-09 13:31:06 +0300
commit90b82c6a9f983b90d5bb5b30f397ce977df778a5 (patch)
tree6f9b844af97cd0957e19a4a69b36ed39e1336d3b /src
parent5d3feac465403781493191fc2d3ee777f5cff933 (diff)
downloadplus-90b82c6a9f983b90d5bb5b30f397ce977df778a5.tar.gz
plus-90b82c6a9f983b90d5bb5b30f397ce977df778a5.tar.bz2
plus-90b82c6a9f983b90d5bb5b30f397ce977df778a5.tar.xz
plus-90b82c6a9f983b90d5bb5b30f397ce977df778a5.zip
Disable reading online list url from config.xml.
Some players with very old configuration may had issue with online list before.
Diffstat (limited to 'src')
-rw-r--r--src/defaults.cpp1
-rw-r--r--src/gui/windows/serverdialog.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 34af5f039..3d4668e32 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -180,7 +180,6 @@ DefaultsData* getConfigDefaults()
AddDEF("ScrollRadius", 0);
AddDEF("ScrollCenterOffsetX", 0);
AddDEF("ScrollCenterOffsetY", 0);
- AddDEF("onlineServerList", "");
AddDEF("enableMumble", false);
AddDEF("playBattleSound", true);
AddDEF("playGuiSound", true);
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index a9542e74c..8afbf0e54 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -435,9 +435,6 @@ void ServerDialog::downloadServerList()
// Try to load the configuration value for the onlineServerList
std::string listFile = branding.getStringValue("onlineServerList");
- if (listFile.empty())
- listFile = config.getStringValue("onlineServerList");
-
// Fall back to manaplus.org when neither branding
// nor config set it
if (listFile.empty())