aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index c13e8b2..75b6b0e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7851,7 +7851,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7851 UUID key; 7851 UUID key;
7852 ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition); 7852 ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition);
7853 7853
7854 if (World.Permissions.CanEditParcelProperties(m_host.OwnerID, land, GroupPowers.LandManageBanned, false)) 7854 if (World.Permissions.CanEditParcelProperties(m_host.OwnerID, land, GroupPowers.LandManagePasses, false))
7855 { 7855 {
7856 int expires = 0; 7856 int expires = 0;
7857 if (hours != 0) 7857 if (hours != 0)
@@ -13073,7 +13073,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
13073 m_host.AddScriptLPS(1); 13073 m_host.AddScriptLPS(1);
13074 UUID key; 13074 UUID key;
13075 ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition); 13075 ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition);
13076 if (World.Permissions.CanEditParcelProperties(m_host.OwnerID, land, GroupPowers.LandManageAllowed, false)) 13076 if (World.Permissions.CanEditParcelProperties(m_host.OwnerID, land, GroupPowers.LandManagePasses, false))
13077 { 13077 {
13078 if (UUID.TryParse(avatar, out key)) 13078 if (UUID.TryParse(avatar, out key))
13079 { 13079 {