Fix apparent logic flaw

master
Ansariel 2021-04-20 19:19:27 +02:00
parent dd1d4421f8
commit 7442c3d685
1 changed files with 1 additions and 1 deletions

View File

@ -574,7 +574,7 @@ std::string LLCacheName::buildFullName(const std::string& first, const std::stri
std::string LLCacheName::cleanFullName(const std::string& full_name)
{
// <FS:CR> FIRE-6659: Legacy "Resident" name toggle
return (LLAvatarName::trimResidentSurname() ? full_name : full_name.substr(0, full_name.find(" Resident")));
return (!LLAvatarName::trimResidentSurname() ? full_name : full_name.substr(0, full_name.find(" Resident")));
// </FS:CR> FIRE-6659: Legacy "Resident" name toggle
}