diff options
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; } |