Remove checks on ban list expiry on every move. To be re-added on parcel

boundary crossing only as soon as I'm properly awake. This should fix
recent performance issues
iar_mods
Melanie 2012-02-05 03:44:15 +00:00
parent 13999dfc1d
commit 35f14a262d
1 changed files with 4 additions and 4 deletions

View File

@ -418,8 +418,8 @@ namespace OpenSim.Region.CoreModules.World.Land
public bool IsBannedFromLand(UUID avatar) public bool IsBannedFromLand(UUID avatar)
{ {
ExpireAccessList(); // ExpireAccessList();
//
if (m_scene.Permissions.IsAdministrator(avatar)) if (m_scene.Permissions.IsAdministrator(avatar))
return false; return false;
@ -447,8 +447,8 @@ namespace OpenSim.Region.CoreModules.World.Land
public bool IsRestrictedFromLand(UUID avatar) public bool IsRestrictedFromLand(UUID avatar)
{ {
ExpireAccessList(); // ExpireAccessList();
//
if (m_scene.Permissions.IsAdministrator(avatar)) if (m_scene.Permissions.IsAdministrator(avatar))
return false; return false;