diff options
author | Melanie | 2009-10-03 15:37:31 +0100 |
---|---|---|
committer | Melanie | 2009-10-03 15:37:31 +0100 |
commit | 874e4231413b27f3f2eed67adca382b1918963cc (patch) | |
tree | bcee61ecdaa50875ff693a70c1463289866d7193 /OpenSim/Region/CoreModules | |
parent | Small permissions tweak (diff) | |
download | opensim-SC_OLD-874e4231413b27f3f2eed67adca382b1918963cc.zip opensim-SC_OLD-874e4231413b27f3f2eed67adca382b1918963cc.tar.gz opensim-SC_OLD-874e4231413b27f3f2eed67adca382b1918963cc.tar.bz2 opensim-SC_OLD-874e4231413b27f3f2eed67adca382b1918963cc.tar.xz |
Fix my build break
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index 89d74b5..9622555 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |||
@@ -576,8 +576,8 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
576 | return objectOwnerMask; | 576 | return objectOwnerMask; |
577 | } | 577 | } |
578 | 578 | ||
579 | if ((objectOwnerMask & PermissionMask.Transfer != 0) && task.saleType != 0) | 579 | if ((objectOwnerMask & (uint)PermissionMask.Transfer) != 0 && task.ObjectSaleType != 0) |
580 | objectEveryoneMask |= ObjectFlags.ObjectTransfer; | 580 | objectEveryoneMask |= (uint)PrimFlags.ObjectTransfer; |
581 | 581 | ||
582 | // Group permissions | 582 | // Group permissions |
583 | if ((task.GroupID != UUID.Zero) && IsGroupMember(task.GroupID, user, 0)) | 583 | if ((task.GroupID != UUID.Zero) && IsGroupMember(task.GroupID, user, 0)) |