diff options
author | Jeff Ames | 2008-12-03 23:48:24 +0000 |
---|---|---|
committer | Jeff Ames | 2008-12-03 23:48:24 +0000 |
commit | 1bd92a6d34eb6461f7b8b9250b18247ccd69084b (patch) | |
tree | 4169232dda53c2e4b4f06d7aaf222814d2e0786f /OpenSim/Region | |
parent | Fixes Mantis#2744: Permissions returned false for resetting scripts in (diff) | |
download | opensim-SC-1bd92a6d34eb6461f7b8b9250b18247ccd69084b.zip opensim-SC-1bd92a6d34eb6461f7b8b9250b18247ccd69084b.tar.gz opensim-SC-1bd92a6d34eb6461f7b8b9250b18247ccd69084b.tar.bz2 opensim-SC-1bd92a6d34eb6461f7b8b9250b18247ccd69084b.tar.xz |
Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 52e7288..7a7c8d6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3029,9 +3029,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3029 | return; | 3029 | return; |
3030 | } | 3030 | } |
3031 | IClientAPI client = null; | 3031 | IClientAPI client = null; |
3032 | ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter); | 3032 | ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter); |
3033 | if (sp!=null) | 3033 | if (sp != null) |
3034 | client = sp.ControllingClient; | 3034 | client = sp.ControllingClient; |
3035 | SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target); | 3035 | SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target); |
3036 | if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0) | 3036 | if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0) |
3037 | return; // Fail silently if attached | 3037 | return; // Fail silently if attached |