aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index e41f975..d7865b2 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -796,7 +796,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
796 if ((part.OwnerMask & (uint)PermissionMask.Modify) == 0) 796 if ((part.OwnerMask & (uint)PermissionMask.Modify) == 0)
797 return false; 797 return false;
798 798
799 TaskInventoryItem ti = part.GetInventoryItem(notecard); 799 TaskInventoryItem ti = part.Inventory.GetInventoryItem(notecard);
800 800
801 if (ti == null) 801 if (ti == null)
802 return false; 802 return false;
@@ -1188,7 +1188,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
1188 if ((part.OwnerMask & (uint)PermissionMask.Modify) == 0) 1188 if ((part.OwnerMask & (uint)PermissionMask.Modify) == 0)
1189 return false; 1189 return false;
1190 1190
1191 TaskInventoryItem ti = part.GetInventoryItem(script); 1191 TaskInventoryItem ti = part.Inventory.GetInventoryItem(script);
1192 1192
1193 if (ti == null) 1193 if (ti == null)
1194 return false; 1194 return false;
@@ -1266,7 +1266,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
1266 if ((part.OwnerMask & (uint)PermissionMask.Modify) == 0) 1266 if ((part.OwnerMask & (uint)PermissionMask.Modify) == 0)
1267 return false; 1267 return false;
1268 1268
1269 TaskInventoryItem ti = part.GetInventoryItem(notecard); 1269 TaskInventoryItem ti = part.Inventory.GetInventoryItem(notecard);
1270 1270
1271 if (ti == null) 1271 if (ti == null)
1272 return false; 1272 return false;