aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-12-01 03:32:48 +0000
committerMelanie Thielker2008-12-01 03:32:48 +0000
commitddf765f840afd1361c756b196b256cb09fc3ee84 (patch)
tree98416351cc98e2bc7c21d7ce9c0771f01c68efe0 /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parentRemove duplicated avatar height calculation in lsl functions. (diff)
downloadopensim-SC_OLD-ddf765f840afd1361c756b196b256cb09fc3ee84.zip
opensim-SC_OLD-ddf765f840afd1361c756b196b256cb09fc3ee84.tar.gz
opensim-SC_OLD-ddf765f840afd1361c756b196b256cb09fc3ee84.tar.bz2
opensim-SC_OLD-ddf765f840afd1361c756b196b256cb09fc3ee84.tar.xz
Make the permissions module hook CanResetScript suitable for use
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index 97846cf..2bd1f1c 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -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 (Permissions.CanResetScript(itemID, remoteClient.AgentId)) 340 if (Permissions.CanResetScript(objectID, itemID, remoteClient.AgentId))
341 { 341 {
342 EventManager.TriggerScriptReset(part.LocalId, itemID); 342 EventManager.TriggerScriptReset(part.LocalId, itemID);
343 } 343 }