aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs
diff options
context:
space:
mode:
authorJeff Ames2008-05-28 03:44:49 +0000
committerJeff Ames2008-05-28 03:44:49 +0000
commit5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 (patch)
treeea980f49f1a6bb40ba037a87581a3d741c3d3c56 /OpenSim/ApplicationPlugins/Rest/RestPlugin.cs
parentThank you kindly, Melanie for a patch that: (diff)
downloadopensim-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/Rest/RestPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/RestPlugin.cs4
1 files changed, 2 insertions, 2 deletions
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);