mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
more cosmetics
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user