diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 74392cc..86349cb 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -1256,14 +1256,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
1256 | { | 1256 | { |
1257 | TaskInventoryItem currentItem = part.GetInventoryItem(itemID); | 1257 | TaskInventoryItem currentItem = part.GetInventoryItem(itemID); |
1258 | bool allowInventoryDrop = (part.GetEffectiveObjectFlags() | 1258 | bool allowInventoryDrop = (part.GetEffectiveObjectFlags() |
1259 | & (uint)PrimFlags.AllowInventoryDrop) != 0; | 1259 | & (uint)PrimFlags.AllowInventoryDrop) != 0; |
1260 | 1260 | ||
1261 | // Explicity allow anyone to add to the inventory if the | 1261 | // Explicity allow anyone to add to the inventory if the |
1262 | // AllowInventoryDrop flag has been set. Don't however let | 1262 | // AllowInventoryDrop flag has been set. Don't however let |
1263 | // them update an item unless they pass the external checks | 1263 | // them update an item unless they pass the external checks |
1264 | // | 1264 | // |
1265 | if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId) | 1265 | if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId) |
1266 | && (currentItem != null || !allowInventoryDrop )) | 1266 | && (currentItem != null || !allowInventoryDrop)) |
1267 | return; | 1267 | return; |
1268 | 1268 | ||
1269 | if (currentItem == null) | 1269 | if (currentItem == null) |