diff options
author | sfan5 <sfan5@live.de> | 2017-01-07 11:05:05 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-01-07 11:05:05 +0100 |
commit | ce106a4113de048718ab9f396db3d368c35218fc (patch) | |
tree | 3da45fa51922d675f40f60d04f7616e2ed468109 /src/util | |
parent | c435eabf3ffb77eab955d5faeb5450da1befc149 (diff) | |
download | minetest-ce106a4113de048718ab9f396db3d368c35218fc.tar.gz minetest-ce106a4113de048718ab9f396db3d368c35218fc.tar.bz2 minetest-ce106a4113de048718ab9f396db3d368c35218fc.zip |
Revert "Extend minetest.is_yes()"
This reverts commit c435eabf3ffb77eab955d5faeb5450da1befc149.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/string.h b/src/util/string.h index ba3c09e51..572c37150 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -272,7 +272,7 @@ inline bool is_yes(const std::string &str) { std::string s2 = lowercase(trim(str)); - return s2 == "y" || s2 == "yes" || s2 == "true" || s2 == "on" || atoi(s2.c_str()) != 0; + return s2 == "y" || s2 == "yes" || s2 == "true" || atoi(s2.c_str()) != 0; } |