aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs
diff options
context:
space:
mode:
authorlbsa712007-08-16 17:08:03 +0000
committerlbsa712007-08-16 17:08:03 +0000
commit25fd8d02738e61e81f93ac784b02ab84697ee528 (patch)
treedb1dda71b3aa86770fa90ae84d4ac361a6fd84c7 /OpenSim/Region/Environment/PermissionManager.cs
parentDeleted old inventoryCache.cs (diff)
downloadopensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.zip
opensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.gz
opensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.bz2
opensim-SC-25fd8d02738e61e81f93ac784b02ab84697ee528.tar.xz
* Introduced IScriptHost as an interface to fetching object data from scripts.
* This meant introducing AbsolutePosition on all objects (since SimChat wants that)
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r--OpenSim/Region/Environment/PermissionManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs
index 1daf5c3..55660c5 100644
--- a/OpenSim/Region/Environment/PermissionManager.cs
+++ b/OpenSim/Region/Environment/PermissionManager.cs
@@ -115,7 +115,7 @@ namespace OpenSim.Region.Environment
115 permission = true; 115 permission = true;
116 116
117 // Users should be able to edit what is over their land. 117 // Users should be able to edit what is over their land.
118 if (m_scene.LandManager.getLandObject(task.Pos.X, task.Pos.Y).landData.ownerID == user) 118 if (m_scene.LandManager.getLandObject(task.AbsolutePosition.X, task.AbsolutePosition.Y).landData.ownerID == user)
119 permission = true; 119 permission = true;
120 120
121 // Estate users should be able to edit anything in the sim 121 // Estate users should be able to edit anything in the sim