do not allow estate bans to grid admins

This commit is contained in:
UbitUmarov
2025-04-17 15:50:08 +01:00
parent 98703ff3a2
commit b00df07563
5 changed files with 25 additions and 13 deletions

View File

@@ -410,8 +410,7 @@ namespace OpenSim.Framework
{
if (ban is null)
return;
if (!IsBanned(ban.BannedUserID, 32) &&
(l_EstateBans.Count < (int)Constants.EstateAccessLimits.EstateBans)) //Ignore age-based bans
if (!IsBanned(ban.BannedUserID, 32) && (l_EstateBans.Count < (int)Constants.EstateAccessLimits.EstateBans)) //Ignore age-based bans
l_EstateBans.Add(ban);
}