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/Rest/RestPlugin.cs | |
parent | Thank you kindly, Melanie for a patch that: (diff) | |
download | opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.zip opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.gz opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.bz2 opensim-SC-5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/RestPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | 4 |
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); |