summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-17 10:06:29 -0600
committerJared Adams <jaxad0127@gmail.com>2010-03-17 10:47:50 -0600
commit076d39f6b83ca495d380d338f396bfb1fd589324 (patch)
tree8e9543e14576d8fe58276ecce485b8bd54ac7b14 /src/configuration.cpp
parent40182c386251741c210d33e400e7d2ba8ab37287 (diff)
downloadmana-076d39f6b83ca495d380d338f396bfb1fd589324.tar.gz
mana-076d39f6b83ca495d380d338f396bfb1fd589324.tar.bz2
mana-076d39f6b83ca495d380d338f396bfb1fd589324.tar.xz
mana-076d39f6b83ca495d380d338f396bfb1fd589324.zip
Allow branding to bypass server list
Reviewed-by: Bernd Wachter
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 60731bdb..1310d642 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -131,7 +131,7 @@ void ConfigurationObject::initFromXML(xmlNodePtr parent_node)
std::string name = XML::getProperty(node, "name", std::string());
std::string value = XML::getProperty(node, "value", std::string());
- if (!name.empty() && !value.empty())
+ if (!name.empty())
mOptions[name] = value;
} // otherwise ignore
}