From ba2afef0f1b5ae1fcd5dfee0243336f28e1fa456 Mon Sep 17 00:00:00 2001
From: mingchen
Date: Thu, 3 Jul 2008 01:29:18 +0000
Subject: *Parcel Claim date is no longer Epoch (Jan 1, 1970). Now shows the
 actual creation/reclaim/sale date.

---
 OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'OpenSim/Region')

diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
index 05bd983..7898a30 100644
--- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
@@ -163,7 +163,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
 
             fullSimParcel.setLandBitmap(fullSimParcel.getSquareLandBitmap(0, 0, (int)Constants.RegionSize, (int)Constants.RegionSize));
             fullSimParcel.landData.ownerID = m_scene.RegionInfo.MasterAvatarAssignedUUID;
-
+            fullSimParcel.landData.claimDate = Util.UnixTimeSinceEpoch();
             AddLandObject(fullSimParcel);
         }
 
@@ -946,6 +946,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
                 if (m_scene.ExternalChecks.ExternalChecksCanReclaimParcel(remote_client.AgentId, landList[local_id]))
                 {
                     landList[local_id].landData.ownerID = m_scene.RegionInfo.MasterAvatarAssignedUUID;
+                    landList[local_id].landData.claimDate = Util.UnixTimeSinceEpoch();
                     m_scene.Broadcast(SendParcelOverlay);
                     landList[local_id].sendLandUpdateToClient(remote_client);
                 }
-- 
cgit v1.1