diff options
Diffstat (limited to 'common/config-manager.cpp')
-rw-r--r-- | common/config-manager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp index 928674f050..add32cd00e 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -490,8 +490,7 @@ void ConfigManager::renameGameDomain(const String &oldName, const String &newNam bool ConfigManager::hasGameDomain(const String &domain) const { assert(!domain.isEmpty()); - assert(isValidDomainName(domain)); - return _gameDomains.contains(domain); + return isValidDomainName(domain) && _gameDomains.contains(domain); } |