From 1bd92a6d34eb6461f7b8b9250b18247ccd69084b Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 3 Dec 2008 23:48:24 +0000 Subject: Minor formatting cleanup. --- .../RemoteController/RemoteAdminPlugin.cs | 14 +++++++------- .../ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 44f9c1a..16fe6f9 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs @@ -380,7 +380,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { int m_regionLimit = m_config.GetInt("region_limit", 0); try { @@ -574,7 +574,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; checkStringParameters(request, new string[] {"password", "region_name"}); @@ -649,7 +649,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; @@ -749,7 +749,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable)request.Params[0]; @@ -917,7 +917,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; @@ -1043,7 +1043,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; @@ -1194,7 +1194,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { 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 return; } IClientAPI client = null; - ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter); - if (sp!=null) - client = sp.ControllingClient; + ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter); + if (sp != null) + client = sp.ControllingClient; SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target); if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0) return; // Fail silently if attached -- cgit v1.1