aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs2
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs14
2 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 9ce6a77..16743ea 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -612,7 +612,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
612 612
613 // TODO: add group support! 613 // TODO: add group support!
614 // 614 //
615 if(part.OwnerID != editorID) 615 if (part.OwnerID != editorID)
616 return false; 616 return false;
617 617
618 return GenericObjectPermission(editorID, objectID, false); 618 return GenericObjectPermission(editorID, objectID, false);
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index c1c1b6e..015b140 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -1201,9 +1201,9 @@ namespace OpenSim.Region.Environment.Scenes
1201 if (part != null) 1201 if (part != null)
1202 { 1202 {
1203 if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId)) 1203 if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId))
1204 { 1204 {
1205 return; 1205 return;
1206 } 1206 }
1207 1207
1208 TaskInventoryItem currentItem = part.GetInventoryItem(itemID); 1208 TaskInventoryItem currentItem = part.GetInventoryItem(itemID);
1209 1209
@@ -1296,10 +1296,10 @@ System.Console.WriteLine("Item asset {0}, request asset {1}", prevItem.AssetID.T
1296 SceneObjectPart part = GetSceneObjectPart(localID); 1296 SceneObjectPart part = GetSceneObjectPart(localID);
1297 if (part != null) 1297 if (part != null)
1298 { 1298 {
1299 if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId)) 1299 if (!ExternalChecks.ExternalChecksCanEditObjectInventory(part.UUID, remoteClient.AgentId))
1300 { 1300 {
1301 return; 1301 return;
1302 } 1302 }
1303 1303
1304 part.ParentGroup.AddInventoryItem(remoteClient, localID, item, copyID); 1304 part.ParentGroup.AddInventoryItem(remoteClient, localID, item, copyID);
1305 // TODO: set this to "true" when scripts in inventory have persistent state to fire on_rez 1305 // TODO: set this to "true" when scripts in inventory have persistent state to fire on_rez