aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index 061d961..f35bd59 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -532,24 +532,6 @@ namespace OpenSim.Region.Environment.Scenes
532 uint baseMask = item.BasePermissions; 532 uint baseMask = item.BasePermissions;
533 uint ownerMask = item.CurrentPermissions; 533 uint ownerMask = item.CurrentPermissions;
534 534
535 if (item.InvType == 10) // Script
536 {
537 if ((item.OwnerID != client.AgentId) && m_parentGroup.Scene.ExternalChecks.ExternalChecksCanViewScript(item.ItemID, UUID, client.AgentId))
538 {
539 ownerID = client.AgentId;
540 baseMask = 0x7fffffff;
541 ownerMask = 0x7fffffff;
542 everyoneMask = (uint)(PermissionMask.Move | PermissionMask.Transfer);
543 }
544 if ((item.OwnerID != client.AgentId) && m_parentGroup.Scene.ExternalChecks.ExternalChecksCanEditScript(item.ItemID, UUID, client.AgentId))
545 {
546 ownerID = client.AgentId;
547 baseMask = 0x7fffffff;
548 ownerMask = 0x7fffffff;
549 everyoneMask = (uint)(PermissionMask.Move | PermissionMask.Transfer | PermissionMask.Modify);
550 }
551 }
552
553 invString.AddItemStart(); 535 invString.AddItemStart();
554 invString.AddNameValueLine("item_id", item.ItemID.ToString()); 536 invString.AddNameValueLine("item_id", item.ItemID.ToString());
555 invString.AddNameValueLine("parent_id", UUID.ToString()); 537 invString.AddNameValueLine("parent_id", UUID.ToString());