more cosmetics

This commit is contained in:
UbitUmarov
2023-01-25 17:35:25 +00:00
parent eea5d14ec6
commit 6e1a196974
5 changed files with 315 additions and 385 deletions

View File

@@ -844,9 +844,9 @@ namespace OpenSim.Region.CoreModules.World.Land
else
userflags = m_scene.GetUserFlags(avatar);
if(adults && ((userflags & 32) == 0))
if(adults && ((userflags & (int)ProfileFlags.AgeVerified) == 0))
return true;
if(anonymous && ((userflags & 4) == 0))
if(anonymous && ((userflags & (int)ProfileFlags.Identified) == 0))
return true;
}
return false;