diff options
-rw-r--r-- | OpenSim/Framework/Monitoring/StatsManager.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/OpenSim/Framework/Monitoring/StatsManager.cs b/OpenSim/Framework/Monitoring/StatsManager.cs index a167b55..d0d1947 100644 --- a/OpenSim/Framework/Monitoring/StatsManager.cs +++ b/OpenSim/Framework/Monitoring/StatsManager.cs | |||
@@ -305,17 +305,6 @@ namespace OpenSim.Framework.Monitoring | |||
305 | string pContainerName = StatsManager.AllSubCommand; | 305 | string pContainerName = StatsManager.AllSubCommand; |
306 | string pStatName = StatsManager.AllSubCommand; | 306 | string pStatName = StatsManager.AllSubCommand; |
307 | 307 | ||
308 | if (!request.ContainsKey("pass") || request["pass"].ToString() != "l0st4nge1s") | ||
309 | { | ||
310 | responsedata["int_response_code"] = response_code; | ||
311 | responsedata["content_type"] = "text/plain"; | ||
312 | responsedata["keepalive"] = false; | ||
313 | responsedata["str_response_string"] = "Access denied"; | ||
314 | responsedata["access_control_allow_origin"] = "*"; | ||
315 | |||
316 | return responsedata; | ||
317 | } | ||
318 | |||
319 | if (request.ContainsKey("cat")) pCategoryName = request["cat"].ToString(); | 308 | if (request.ContainsKey("cat")) pCategoryName = request["cat"].ToString(); |
320 | if (request.ContainsKey("cont")) pContainerName = request["cat"].ToString(); | 309 | if (request.ContainsKey("cont")) pContainerName = request["cat"].ToString(); |
321 | if (request.ContainsKey("stat")) pStatName = request["stat"].ToString(); | 310 | if (request.ContainsKey("stat")) pStatName = request["stat"].ToString(); |