aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorUbitUmarov2017-07-25 03:44:52 +0100
committerUbitUmarov2017-07-25 03:44:52 +0100
commit1071c92bb03775d393f0134e540f54f7cb38d38a (patch)
tree12cda2733982b4d6000e99078e136857ce868fc0 /OpenSim/Region/ScriptEngine/Shared
parentallow pass recharge with no loss of current time up to 1/4 of parcel pass time. (diff)
downloadopensim-SC-1071c92bb03775d393f0134e540f54f7cb38d38a.zip
opensim-SC-1071c92bb03775d393f0134e540f54f7cb38d38a.tar.gz
opensim-SC-1071c92bb03775d393f0134e540f54f7cb38d38a.tar.bz2
opensim-SC-1071c92bb03775d393f0134e540f54f7cb38d38a.tar.xz
fix lsl group role powers to change parcel passes
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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 {