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/OptionalModules/Avatar | |
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/OptionalModules/Avatar')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs b/OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs index 2bb48ad..92b5831 100644 --- a/OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs | |||
@@ -159,7 +159,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments | |||
159 | 159 | ||
160 | if (target.UUID != hostgroup.OwnerID) | 160 | if (target.UUID != hostgroup.OwnerID) |
161 | { | 161 | { |
162 | uint effectivePerms = hostgroup.GetEffectivePermissions(); | 162 | uint effectivePerms = hostgroup.EffectiveOwnerPerms; |
163 | 163 | ||
164 | if ((effectivePerms & (uint)PermissionMask.Transfer) == 0) | 164 | if ((effectivePerms & (uint)PermissionMask.Transfer) == 0) |
165 | return 0; | 165 | return 0; |