diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index be399ff..516189f 100644 --- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |||
@@ -179,6 +179,13 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell | |||
179 | return false; | 179 | return false; |
180 | } | 180 | } |
181 | 181 | ||
182 | if ((perms & (uint)PermissionMask.Copy) == 0) | ||
183 | { | ||
184 | if (m_dialogModule != null) | ||
185 | m_dialogModule.SendAlertToUser(remoteClient, "This sale has been blocked by the permissions system"); | ||
186 | return false; | ||
187 | } | ||
188 | |||
182 | AssetBase asset = m_scene.CreateAsset( | 189 | AssetBase asset = m_scene.CreateAsset( |
183 | group.GetPartName(localID), | 190 | group.GetPartName(localID), |
184 | group.GetPartDescription(localID), | 191 | group.GetPartDescription(localID), |