diff options
author | UbitUmarov | 2017-07-25 03:44:52 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-25 03:44:52 +0100 |
commit | 1071c92bb03775d393f0134e540f54f7cb38d38a (patch) | |
tree | 12cda2733982b4d6000e99078e136857ce868fc0 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | allow pass recharge with no loss of current time up to 1/4 of parcel pass time. (diff) | |
download | opensim-SC_OLD-1071c92bb03775d393f0134e540f54f7cb38d38a.zip opensim-SC_OLD-1071c92bb03775d393f0134e540f54f7cb38d38a.tar.gz opensim-SC_OLD-1071c92bb03775d393f0134e540f54f7cb38d38a.tar.bz2 opensim-SC_OLD-1071c92bb03775d393f0134e540f54f7cb38d38a.tar.xz |
fix lsl group role powers to change parcel passes
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
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 | { |