aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index c9c7bef..97846cf 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -113,8 +113,8 @@ namespace OpenSim.Region.Environment.Scenes
113 ((SceneObjectGroup) ent).GetProperties(remoteClient); 113 ((SceneObjectGroup) ent).GetProperties(remoteClient);
114 ((SceneObjectGroup) ent).IsSelected = true; 114 ((SceneObjectGroup) ent).IsSelected = true;
115 // A prim is only tainted if it's allowed to be edited by the person clicking it. 115 // A prim is only tainted if it's allowed to be edited by the person clicking it.
116 if (ExternalChecks.ExternalChecksCanEditObject(((SceneObjectGroup)ent).UUID, remoteClient.AgentId) 116 if (Permissions.CanEditObject(((SceneObjectGroup)ent).UUID, remoteClient.AgentId)
117 || ExternalChecks.ExternalChecksCanMoveObject(((SceneObjectGroup)ent).UUID, remoteClient.AgentId)) 117 || Permissions.CanMoveObject(((SceneObjectGroup)ent).UUID, remoteClient.AgentId))
118 { 118 {
119 EventManager.TriggerParcelPrimCountTainted(); 119 EventManager.TriggerParcelPrimCountTainted();
120 } 120 }
@@ -181,9 +181,9 @@ namespace OpenSim.Region.Environment.Scenes
181 // 181 //
182 if (!isAttachment) 182 if (!isAttachment)
183 { 183 {
184 if (ExternalChecks.ExternalChecksCanEditObject( 184 if (Permissions.CanEditObject(
185 part.UUID, remoteClient.AgentId) 185 part.UUID, remoteClient.AgentId)
186 || ExternalChecks.ExternalChecksCanMoveObject( 186 || Permissions.CanMoveObject(
187 part.UUID, remoteClient.AgentId)) 187 part.UUID, remoteClient.AgentId))
188 EventManager.TriggerParcelPrimCountTainted(); 188 EventManager.TriggerParcelPrimCountTainted();
189 } 189 }
@@ -337,7 +337,7 @@ namespace OpenSim.Region.Environment.Scenes
337 if (part == null) 337 if (part == null)
338 return; 338 return;
339 339
340 if (ExternalChecks.ExternalChecksCanResetScript(itemID, remoteClient.AgentId)) 340 if (Permissions.CanResetScript(itemID, remoteClient.AgentId))
341 { 341 {
342 EventManager.TriggerScriptReset(part.LocalId, itemID); 342 EventManager.TriggerScriptReset(part.LocalId, itemID);
343 } 343 }