diff options
author | DDuarte <dnpd.dd@gmail.com> | 2016-03-31 03:31:21 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2016-03-31 03:31:21 +0100 |
commit | 0afcefea2724081968b07119ebd54943fdc44b60 (patch) | |
tree | 7c9f77786a0d8893282de24f16f4fc10d39fb8ef /src/common/Configuration/Config.cpp | |
parent | 9431b94bff939457cb915da3728cda6067674558 (diff) |
Core/Config: Fix 3 more missing config warnings
Closes #16861
Thanks tkrokli
Diffstat (limited to 'src/common/Configuration/Config.cpp')
-rw-r--r-- | src/common/Configuration/Config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Configuration/Config.cpp b/src/common/Configuration/Config.cpp index 919c49f72b9..1f340b38e42 100644 --- a/src/common/Configuration/Config.cpp +++ b/src/common/Configuration/Config.cpp @@ -122,7 +122,7 @@ bool ConfigMgr::GetBoolDefault(std::string const& name, bool def) const { std::string val = GetValueDefault(name, std::string(def ? "1" : "0")); val.erase(std::remove(val.begin(), val.end(), '"'), val.end()); - return (val == "true" || val == "TRUE" || val == "yes" || val == "YES" || val == "1"); + return (val == "1" || val == "true" || val == "TRUE" || val == "yes" || val == "YES"); } int ConfigMgr::GetIntDefault(std::string const& name, int def) const |