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.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index e3bec9d..48b356a 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -181,7 +181,7 @@ namespace OpenSim.Region.ScriptEngine.Common
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.Permissions.GenericEstatePermission( 183 //World.Permissions.GenericEstatePermission(
184 if (World.Permissions.GenericEstatePermission(m_host.OwnerID)) 184 if (World.ExternalChecks.ExternalChecksCanBeGodLike(m_host.OwnerID))
185 { 185 {
186 World.EventManager.TriggerRequestChangeWaterHeight((float)height); 186 World.EventManager.TriggerRequestChangeWaterHeight((float)height);
187 } 187 }
@@ -2647,7 +2647,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2647 public void llModifyLand(int action, int brush) 2647 public void llModifyLand(int action, int brush)
2648 { 2648 {
2649 m_host.AddScriptLPS(1); 2649 m_host.AddScriptLPS(1);
2650 if (World.Permissions.CanTerraform(m_host.OwnerID, new LLVector3(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, 0))) 2650 if (World.ExternalChecks.ExternalChecksCanTerraformLand(m_host.OwnerID, new LLVector3(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y, 0)))
2651 { 2651 {
2652 NotImplemented("llModifyLand"); 2652 NotImplemented("llModifyLand");
2653 } 2653 }
@@ -3900,7 +3900,7 @@ namespace OpenSim.Region.ScriptEngine.Common
3900 { 3900 {
3901 if (m_host.ObjectOwner == parcel.landData.ownerID || 3901 if (m_host.ObjectOwner == parcel.landData.ownerID ||
3902 (m_host.OwnerID == m_host.GroupID && m_host.GroupID == parcel.landData.groupID 3902 (m_host.OwnerID == m_host.GroupID && m_host.GroupID == parcel.landData.groupID
3903 && parcel.landData.isGroupOwned) || World.Permissions.GenericEstatePermission(m_host.OwnerID)) 3903 && parcel.landData.isGroupOwned) || World.ExternalChecks.ExternalChecksCanBeGodLike(m_host.OwnerID))
3904 { 3904 {
3905 av.StandUp(); 3905 av.StandUp();
3906 } 3906 }