- Added Daniel Kullmann as thanks for the code patches, although they
  are not being applied.  We still appreciate the effort.
This commit is contained in:
Paul Beckingham
2011-07-27 22:42:18 -04:00
parent 8651bbec8e
commit 2460502be8
4 changed files with 265 additions and 128 deletions

View File

@@ -653,15 +653,15 @@ const bool Config::getBoolean (const std::string& key)
if ((*this).find (key) != (*this).end ())
{
std::string value = lowerCase ((*this)[key]);
if (value == "t" || // TODO i18n
value == "true" || // TODO i18n
value == "1" || // no i18n
value == "+" || // no i18n
value == "y" || // TODO i18n
value == "yes" || // TODO i18n
value == "on" || // TODO i18n
value == "enable" || // TODO i18n
value == "enabled") // TODO i18n
if (value == "t" ||
value == "true" ||
value == "1" ||
value == "+" ||
value == "y" ||
value == "yes" ||
value == "on" ||
value == "enable" ||
value == "enabled")
return true;
}