diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-01-23 17:29:15 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-01-23 17:29:15 +0200 |
commit | c914cbb0a081b30b28271618bbaa8e987a108ae7 (patch) | |
tree | e77ed702c3efe15dce220a4410ac10db5f1bf25b /src/utility.h | |
parent | c0a1bcf4735661e69ba0938b322fe37daf510edf (diff) | |
download | dragonfireclient-c914cbb0a081b30b28271618bbaa8e987a108ae7.tar.xz |
OMG! Main Menu!
Diffstat (limited to 'src/utility.h')
-rw-r--r-- | src/utility.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utility.h b/src/utility.h index 897390dba..8ab2345e1 100644 --- a/src/utility.h +++ b/src/utility.h @@ -646,7 +646,7 @@ inline std::string lowercase(const std::string &s) inline bool is_yes(const std::string &s) { std::string s2 = lowercase(trim(s)); - if(s2 == "y" || s2 == "yes" || s2 == "true") + if(s2 == "y" || s2 == "yes" || s2 == "true" || s2 == "1") return true; return false; } |