diff options
author | UbitUmarov | 2017-01-22 23:05:39 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-22 23:05:39 +0000 |
commit | c673ef7e3cd5d9bb4d06094229d5a0647f49a36e (patch) | |
tree | 6d4db4cc8b12b6491e6c0c4bc893ec38f4958c64 /OpenSim/Region/CoreModules/World/Land | |
parent | don't let part lastowner be the group (diff) | |
download | opensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.zip opensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.tar.gz opensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.tar.bz2 opensim-SC-c673ef7e3cd5d9bb4d06094229d5a0647f49a36e.tar.xz |
replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index 3aca741..8c0edc8 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -1650,7 +1650,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
1650 | foreach (SceneObjectGroup obj in primsOverMe) | 1650 | foreach (SceneObjectGroup obj in primsOverMe) |
1651 | { | 1651 | { |
1652 | if (obj.OwnerID == previousOwner && obj.GroupID == UUID.Zero && | 1652 | if (obj.OwnerID == previousOwner && obj.GroupID == UUID.Zero && |
1653 | (obj.GetEffectivePermissions() & (uint)(OpenSim.Framework.PermissionMask.Transfer)) != 0) | 1653 | (obj.EffectiveOwnerPerms & (uint)(OpenSim.Framework.PermissionMask.Transfer)) != 0) |
1654 | m_BuySellModule.BuyObject(sp.ControllingClient, UUID.Zero, obj.LocalId, 1, 0); | 1654 | m_BuySellModule.BuyObject(sp.ControllingClient, UUID.Zero, obj.LocalId, 1, 0); |
1655 | } | 1655 | } |
1656 | } | 1656 | } |