aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs
diff options
context:
space:
mode:
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);