summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/serverdialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 46633fb33..ee5300d7d 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -546,10 +546,11 @@ void ServerDialog::loadServers(const bool addNew)
XML::Document doc(pathJoin(mDir,
branding.getStringValue("onlineServerFile")),
UseVirtFs_false,
- SkipError_false);
+ SkipError_true);
XmlNodeConstPtr rootNode = doc.rootNode();
- if ((rootNode == nullptr) || !xmlNameEqual(rootNode, "serverlist"))
+ if (rootNode == nullptr ||
+ !xmlNameEqual(rootNode, "serverlist"))
{
logger->log1("Error loading server list!");
return;