diff options
author | Melanie | 2012-02-05 04:03:32 +0000 |
---|---|---|
committer | Melanie | 2012-02-05 04:03:32 +0000 |
commit | 8923ad755d97d5ddb4a29cb6f543b53195f0b461 (patch) | |
tree | 432571b04ff2a9944a8b4db4f1fdaa97176afb2f /OpenSim/Region/CoreModules/World/Land/LandObject.cs | |
parent | Remove checks on ban list expiry on every move. To be re-added on parcel (diff) | |
download | opensim-SC_OLD-8923ad755d97d5ddb4a29cb6f543b53195f0b461.zip opensim-SC_OLD-8923ad755d97d5ddb4a29cb6f543b53195f0b461.tar.gz opensim-SC_OLD-8923ad755d97d5ddb4a29cb6f543b53195f0b461.tar.bz2 opensim-SC_OLD-8923ad755d97d5ddb4a29cb6f543b53195f0b461.tar.xz |
Check ban list for a particular parcel only when an avatar moves into it.
This restores functionality remove in the last commit without reintroducing
the performance penalty.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index d86d50e..9aff86c 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -418,8 +418,6 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
418 | 418 | ||
419 | public bool IsBannedFromLand(UUID avatar) | 419 | public bool IsBannedFromLand(UUID avatar) |
420 | { | 420 | { |
421 | // ExpireAccessList(); | ||
422 | // | ||
423 | if (m_scene.Permissions.IsAdministrator(avatar)) | 421 | if (m_scene.Permissions.IsAdministrator(avatar)) |
424 | return false; | 422 | return false; |
425 | 423 | ||
@@ -447,8 +445,6 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
447 | 445 | ||
448 | public bool IsRestrictedFromLand(UUID avatar) | 446 | public bool IsRestrictedFromLand(UUID avatar) |
449 | { | 447 | { |
450 | // ExpireAccessList(); | ||
451 | // | ||
452 | if (m_scene.Permissions.IsAdministrator(avatar)) | 448 | if (m_scene.Permissions.IsAdministrator(avatar)) |
453 | return false; | 449 | return false; |
454 | 450 | ||