diff options
author | Jeff Ames | 2008-05-28 03:44:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-28 03:44:49 +0000 |
commit | 5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch) | |
tree | ea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/ApplicationPlugins | |
parent | Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.zip opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.gz opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.bz2 opensim-SC_OLD-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs | 2 | ||||
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs b/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs index 5de623c..681b99f 100644 --- a/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs +++ b/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs | |||
@@ -72,7 +72,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions | |||
72 | { | 72 | { |
73 | get | 73 | get |
74 | { | 74 | { |
75 | switch(idx.ToLower()) | 75 | switch (idx.ToLower()) |
76 | { | 76 | { |
77 | case "name": | 77 | case "name": |
78 | return region_name; | 78 | return region_name; |
diff --git a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs index 9855658..e395840 100644 --- a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs +++ b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | |||
@@ -194,7 +194,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
194 | 194 | ||
195 | try | 195 | try |
196 | { | 196 | { |
197 | if ((_config = openSim.ConfigSource.Configs["RestPlugins"]) == null) | 197 | if ((_config = openSim.ConfigSource.Configs["RestPlugins"]) == null) |
198 | { | 198 | { |
199 | m_log.WarnFormat("{0} Rest Plugins not configured", MsgID); | 199 | m_log.WarnFormat("{0} Rest Plugins not configured", MsgID); |
200 | return; | 200 | return; |
@@ -296,7 +296,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
296 | public bool RemoveAgentHandler(string agentName, IHttpAgentHandler handler) | 296 | public bool RemoveAgentHandler(string agentName, IHttpAgentHandler handler) |
297 | { | 297 | { |
298 | if (!IsEnabled) return false; | 298 | if (!IsEnabled) return false; |
299 | if(_agents[agentName] == handler) | 299 | if (_agents[agentName] == handler) |
300 | { | 300 | { |
301 | _agents.Remove(agentName); | 301 | _agents.Remove(agentName); |
302 | return _httpd.RemoveAgentHandler(agentName, handler); | 302 | return _httpd.RemoveAgentHandler(agentName, handler); |