diff options
-rw-r--r-- | common/config-file.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/config-file.cpp b/common/config-file.cpp index 5ac3988e13..d772dff812 100644 --- a/common/config-file.cpp +++ b/common/config-file.cpp @@ -169,7 +169,9 @@ void Config::set_domain(const String &d) bool Config::has_domain(const String &d) const { - return domains.contains(d); + String temp = d; + temp.toLowercase(); + return domains.contains(temp); } void Config::flush() const |