From 8ea12ad6c06ec9cce4bc470b40079546f18b61c8 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 5 May 2009 09:59:15 +0000 Subject: Add copyright header. Formatting cleanup. Ignore some generated files. --- .../CreateCommsManager/CreateCommsManagerPlugin.cs | 2 +- OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/ApplicationPlugins') diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs index 39c0066..3ad137e 100644 --- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs +++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs @@ -245,7 +245,7 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager m_httpServer.AddStreamHandler(new OpenSim.SimStatusHandler()); m_httpServer.AddStreamHandler(new OpenSim.XSimStatusHandler(m_openSim)); - if(m_openSim.userStatsURI != String.Empty ) + if (m_openSim.userStatsURI != String.Empty ) m_httpServer.AddStreamHandler(new OpenSim.UXSimStatusHandler(m_openSim)); } diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index e14843b..1daa07f 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs @@ -413,9 +413,9 @@ namespace OpenSim.ApplicationPlugins.RemoteController private bool getBoolean(Hashtable requestData, string tag, bool defv) { // If an access value has been provided, apply it. - if(requestData.Contains(tag)) + if (requestData.Contains(tag)) { - switch(((string)requestData[tag]).ToLower()) + switch (((string)requestData[tag]).ToLower()) { case "true" : case "t" : @@ -670,7 +670,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController { List parcels = ((Scene)newscene).LandChannel.AllParcels(); - foreach(ILandObject parcel in parcels) + foreach (ILandObject parcel in parcels) { parcel.landData.Flags |= (uint) Parcel.ParcelFlags.AllowVoiceChat; parcel.landData.Flags |= (uint) Parcel.ParcelFlags.UseEstateVoiceChan; @@ -826,7 +826,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController bool enableVoice = getBoolean(requestData, "enable_voice", true); List parcels = ((Scene)scene).LandChannel.AllParcels(); - foreach(ILandObject parcel in parcels) + foreach (ILandObject parcel in parcels) { if (enableVoice) { -- cgit v1.1