aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index ebbfece..5ce3c7b 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1245,7 +1245,7 @@ namespace OpenSim.Region.Environment.Scenes
1245 1245
1246 LLVector3 pos = GetNewRezLocation(RayStart, RayEnd, RayTargetID, rot, bypassRaycast, RayEndIsIntersection, true, new LLVector3(0.5f,0.5f,0.5f), false); 1246 LLVector3 pos = GetNewRezLocation(RayStart, RayEnd, RayTargetID, rot, bypassRaycast, RayEndIsIntersection, true, new LLVector3(0.5f,0.5f,0.5f), false);
1247 1247
1248 if (Permissions.CanRezObject(ownerID, pos, 1)) 1248 if ( ExternalChecks.ExternalChecksCanRezObject(1,ownerID,pos))
1249 { 1249 {
1250 // rez ON the ground, not IN the ground 1250 // rez ON the ground, not IN the ground
1251 pos.Z += 0.25F; 1251 pos.Z += 0.25F;
@@ -2519,7 +2519,7 @@ namespace OpenSim.Region.Environment.Scenes
2519 if (m_scenePresences.ContainsKey(agentID)) 2519 if (m_scenePresences.ContainsKey(agentID))
2520 { 2520 {
2521 // First check that this is the sim owner 2521 // First check that this is the sim owner
2522 if (Permissions.GenericEstatePermission(agentID)) 2522 if (ExternalChecks.ExternalChecksCanBeGodLike(agentID))
2523 { 2523 {
2524 // Next we check for spoofing..... 2524 // Next we check for spoofing.....
2525 LLUUID testSessionID = m_scenePresences[agentID].ControllingClient.SessionId; 2525 LLUUID testSessionID = m_scenePresences[agentID].ControllingClient.SessionId;
@@ -2597,7 +2597,7 @@ namespace OpenSim.Region.Environment.Scenes
2597 { 2597 {
2598 if (m_scenePresences.ContainsKey(agentID) || agentID == kickUserID) 2598 if (m_scenePresences.ContainsKey(agentID) || agentID == kickUserID)
2599 { 2599 {
2600 if (Permissions.GenericEstatePermission(godID)) 2600 if (ExternalChecks.ExternalChecksCanBeGodLike(godID))
2601 { 2601 {
2602 if (agentID == kickUserID) 2602 if (agentID == kickUserID)
2603 { 2603 {
@@ -2918,7 +2918,7 @@ namespace OpenSim.Region.Environment.Scenes
2918 } 2918 }
2919 else if ((parcel.landData.landFlags & (uint)Parcel.ParcelFlags.AllowGroupScripts) != 0) 2919 else if ((parcel.landData.landFlags & (uint)Parcel.ParcelFlags.AllowGroupScripts) != 0)
2920 { 2920 {
2921 if (part.OwnerID == parcel.landData.ownerID || (parcel.landData.isGroupOwned && part.GroupID == parcel.landData.groupID) || Permissions.GenericEstatePermission(part.OwnerID)) 2921 if (part.OwnerID == parcel.landData.ownerID || (parcel.landData.isGroupOwned && part.GroupID == parcel.landData.groupID) || ExternalChecks.ExternalChecksCanBeGodLike(part.OwnerID))
2922 { 2922 {
2923 return true; 2923 return true;
2924 } 2924 }