aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
index 0ecfdd3..d595185 100644
--- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
@@ -1233,5 +1233,20 @@ namespace OpenSim.Region.Environment.Modules.World.Land
1233 else 1233 else
1234 m_log.Debug("[LAND] got no parcelinfo; not sending"); 1234 m_log.Debug("[LAND] got no parcelinfo; not sending");
1235 } 1235 }
1236
1237 public void setParcelOtherCleanTime(IClientAPI remoteClient, int localID,int otherCleanTime)
1238 {
1239 if (!landList.ContainsKey(localID))
1240 return;
1241
1242 ILandObject landObject = landList[localID];
1243
1244 if (!m_scene.ExternalChecks.ExternalChecksCanEditParcel(remoteClient.AgentId, landObject))
1245 return;
1246
1247 landObject.landData.OtherCleanTime = otherCleanTime;
1248
1249 UpdateLandObject(localID, landObject.landData);
1250 }
1236 } 1251 }
1237} 1252}