summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-21 17:02:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-21 17:02:34 +0300
commit30c7f7c0e0d3f5801e968077237103ee0dfadf7b (patch)
tree8729e98da01a6f01f1ca40b171d3f04412536f41
parentdaf84780d386ee122ae4b4bd37b1e918f93fb202 (diff)
downloadplus-30c7f7c0e0d3f5801e968077237103ee0dfadf7b.tar.gz
plus-30c7f7c0e0d3f5801e968077237103ee0dfadf7b.tar.bz2
plus-30c7f7c0e0d3f5801e968077237103ee0dfadf7b.tar.xz
plus-30c7f7c0e0d3f5801e968077237103ee0dfadf7b.zip
Change server list url to manaplus host.
-rw-r--r--src/defaults.cpp2
-rw-r--r--src/gui/serverdialog.cpp7
2 files changed, 6 insertions, 3 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 414714ebe..8c0b84ae2 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -241,7 +241,7 @@ DefaultsData* getBrandingDefaults()
AddDEF(brandingData, "defaultPort", DEFAULT_PORT);
AddDEF(brandingData, "defaultServerType", "tmwathena");
AddDEF(brandingData, "onlineServerList",
- "http://manasource.org/serverlist.xml");
+ "http://manaplus.evolonline.org/serverlist.xml");
AddDEF(brandingData, "appShort", "mana");
AddDEF(brandingData, "defaultUpdateHost", "");
AddDEF(brandingData, "helpPath", "");
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 019ea9f1c..39ff19a89 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -609,9 +609,12 @@ void ServerDialog::downloadServerList()
if (listFile.empty())
listFile = config.getStringValue("onlineServerList");
- // Fall back to manasource.org when neither branding nor config set it
+ // Fall back to manaplus.evolonline.org when neither branding nor config set it
if (listFile.empty())
- listFile = "http://manasource.org/serverlist.xml";
+ {
+ listFile = "http://manaplus.evolonline.org/"
+ "serverlist.xml/serverlist.xml";
+ }
if (mDownload)
{