diff options
author | UbitUmarov | 2017-01-16 20:27:39 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-16 20:27:39 +0000 |
commit | 180add745cea4a7e076afd1cfe1c922df1bf7e0b (patch) | |
tree | da9d65ee4918e3cd43acd19c99eb26e3afb764e3 /OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |
parent | fix EffectiveGroupOrEveryOnePerms C&T == 0 case (diff) | |
download | opensim-SC_OLD-180add745cea4a7e076afd1cfe1c922df1bf7e0b.zip opensim-SC_OLD-180add745cea4a7e076afd1cfe1c922df1bf7e0b.tar.gz opensim-SC_OLD-180add745cea4a7e076afd1cfe1c922df1bf7e0b.tar.bz2 opensim-SC_OLD-180add745cea4a7e076afd1cfe1c922df1bf7e0b.tar.xz |
replace calls to SetOwnerId and SetRootPartOwner by a single new SetOwner() so owner is not changed twice on rootpart
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index 2837358..2a7bfb0 100644 --- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |||
@@ -136,8 +136,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell | |||
136 | return false; | 136 | return false; |
137 | } | 137 | } |
138 | 138 | ||
139 | group.SetOwnerId(remoteClient.AgentId); | 139 | group.SetOwner(remoteClient.AgentId, remoteClient.ActiveGroupId); |
140 | group.SetRootPartOwner(part, remoteClient.AgentId, remoteClient.ActiveGroupId); | ||
141 | 140 | ||
142 | if (m_scene.Permissions.PropagatePermissions()) | 141 | if (m_scene.Permissions.PropagatePermissions()) |
143 | { | 142 | { |