aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index ca94dd7..54c26d9 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -180,8 +180,8 @@ namespace OpenSim.Region.ScriptEngine.Common
180 { 180 {
181 m_host.AddScriptLPS(1); 181 m_host.AddScriptLPS(1);
182 //Check to make sure that the script's owner is the estate manager/master 182 //Check to make sure that the script's owner is the estate manager/master
183 //World.PermissionsMngr.GenericEstatePermission( 183 //World.Permissions.GenericEstatePermission(
184 if (World.PermissionsMngr.GenericEstatePermission(m_host.OwnerID)) 184 if (World.Permissions.GenericEstatePermission(m_host.OwnerID))
185 { 185 {
186 World.EventManager.TriggerRequestChangeWaterHeight((float)height); 186 World.EventManager.TriggerRequestChangeWaterHeight((float)height);
187 } 187 }
@@ -2616,7 +2616,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2616 public void llModifyLand(int action, int brush) 2616 public void llModifyLand(int action, int brush)
2617 { 2617 {
2618 m_host.AddScriptLPS(1); 2618 m_host.AddScriptLPS(1);
2619 if (World.PermissionsMngr.CanTerraform(m_host.OwnerID, new LLVector3(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, 0))) 2619 if (World.Permissions.CanTerraform(m_host.OwnerID, new LLVector3(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, 0)))
2620 { 2620 {
2621 NotImplemented("llModifyLand"); 2621 NotImplemented("llModifyLand");
2622 } 2622 }
@@ -3869,7 +3869,7 @@ namespace OpenSim.Region.ScriptEngine.Common
3869 { 3869 {
3870 if (m_host.ObjectOwner == parcel.landData.ownerID || 3870 if (m_host.ObjectOwner == parcel.landData.ownerID ||
3871 (m_host.OwnerID == m_host.GroupID && m_host.GroupID == parcel.landData.groupID 3871 (m_host.OwnerID == m_host.GroupID && m_host.GroupID == parcel.landData.groupID
3872 && parcel.landData.isGroupOwned) || World.PermissionsMngr.GenericEstatePermission(m_host.OwnerID)) 3872 && parcel.landData.isGroupOwned) || World.Permissions.GenericEstatePermission(m_host.OwnerID))
3873 { 3873 {
3874 av.StandUp(); 3874 av.StandUp();
3875 } 3875 }