From a7f3d2fbc22eeea3078e983421faef73aba7a063 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 28 Nov 2008 02:31:43 +0000 Subject: Invert a test to allow prims to region-cross again --- OpenSim/Region/Environment/Scenes/Scene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 3e34ffb..594972d 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2152,7 +2152,7 @@ namespace OpenSim.Region.Environment.Scenes if (RootPrim != null) { if (m_regInfo.EstateSettings.IsBanned(RootPrim.OwnerID) || - Permissions.CanObjectEntry(RootPrim.UUID, true, RootPrim.AbsolutePosition)) + (!Permissions.CanObjectEntry(RootPrim.UUID, true, RootPrim.AbsolutePosition))) { SceneObjectGroup grp = RootPrim.ParentGroup; if (grp != null) -- cgit v1.1