aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
index 99128bc..fe2458c 100644
--- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
@@ -729,7 +729,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
729 729
730 //If we are still here, then they are subdividing within one piece of land 730 //If we are still here, then they are subdividing within one piece of land
731 //Check owner 731 //Check owner
732 if (!m_scene.ExternalChecks.ExternalChecksCanEditParcel(attempting_user_id, startLandObject)) 732 if (!m_scene.Permissions.CanEditParcel(attempting_user_id, startLandObject))
733 { 733 {
734 return; 734 return;
735 } 735 }
@@ -797,7 +797,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
797 { 797 {
798 return; 798 return;
799 } 799 }
800 if (!m_scene.ExternalChecks.ExternalChecksCanEditParcel(attempting_user_id, masterLandObject)) 800 if (!m_scene.Permissions.CanEditParcel(attempting_user_id, masterLandObject))
801 { 801 {
802 return; 802 return;
803 } 803 }
@@ -1009,7 +1009,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
1009 1009
1010 if (land != null) 1010 if (land != null)
1011 { 1011 {
1012 if (m_scene.ExternalChecks.ExternalChecksCanBeGodLike(remote_client.AgentId)) 1012 if (m_scene.Permissions.IsGod(remote_client.AgentId))
1013 { 1013 {
1014 land.landData.OwnerID = ownerID; 1014 land.landData.OwnerID = ownerID;
1015 1015
@@ -1029,7 +1029,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
1029 1029
1030 if (land != null) 1030 if (land != null)
1031 { 1031 {
1032 if (m_scene.ExternalChecks.ExternalChecksCanAbandonParcel(remote_client.AgentId, land)) 1032 if (m_scene.Permissions.CanAbandonParcel(remote_client.AgentId, land))
1033 { 1033 {
1034 if (m_scene.RegionInfo.EstateSettings.EstateOwner != UUID.Zero) 1034 if (m_scene.RegionInfo.EstateSettings.EstateOwner != UUID.Zero)
1035 land.landData.OwnerID = m_scene.RegionInfo.EstateSettings.EstateOwner; 1035 land.landData.OwnerID = m_scene.RegionInfo.EstateSettings.EstateOwner;
@@ -1051,7 +1051,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
1051 1051
1052 if (land != null) 1052 if (land != null)
1053 { 1053 {
1054 if (m_scene.ExternalChecks.ExternalChecksCanReclaimParcel(remote_client.AgentId, land)) 1054 if (m_scene.Permissions.CanReclaimParcel(remote_client.AgentId, land))
1055 { 1055 {
1056 if (m_scene.RegionInfo.EstateSettings.EstateOwner != UUID.Zero) 1056 if (m_scene.RegionInfo.EstateSettings.EstateOwner != UUID.Zero)
1057 land.landData.OwnerID = m_scene.RegionInfo.EstateSettings.EstateOwner; 1057 land.landData.OwnerID = m_scene.RegionInfo.EstateSettings.EstateOwner;
@@ -1321,7 +1321,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
1321 1321
1322 if (land == null) return; 1322 if (land == null) return;
1323 1323
1324 if (!m_scene.ExternalChecks.ExternalChecksCanEditParcel(remoteClient.AgentId, land)) 1324 if (!m_scene.Permissions.CanEditParcel(remoteClient.AgentId, land))
1325 return; 1325 return;
1326 1326
1327 land.landData.OtherCleanTime = otherCleanTime; 1327 land.landData.OtherCleanTime = otherCleanTime;