aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs2
-rw-r--r--OpenSim/ApplicationPlugins/Rest/RestPlugin.cs4
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);