mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Replace Equals with IEquals where appropriate
This commit is contained in:
@@ -186,7 +186,7 @@ const NetworkUser* NetworkUserManager::GetUserByName(const std::string& name) co
|
||||
for (const auto& kvp : _usersByHash)
|
||||
{
|
||||
const auto& networkUser = kvp.second;
|
||||
if (String::Equals(name.c_str(), networkUser->Name.c_str(), true))
|
||||
if (String::IEquals(name.c_str(), networkUser->Name.c_str()))
|
||||
{
|
||||
return networkUser.get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user