Invert a test to allow prims to region-cross again

0.6.1-post-fixes
Melanie Thielker 2008-11-28 02:31:43 +00:00
parent 48149f36c0
commit a7f3d2fbc2
1 changed files with 1 additions and 1 deletions

View File

@ -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)