Allow monitoring of stats by region name

0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-10-10 23:58:27 +01:00
parent 3678b8f1f7
commit 2ecfa29eb6
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
@ -76,6 +77,8 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
DebugMonitors);
MainServer.Instance.AddHTTPHandler("/monitorstats/" + m_scene.RegionInfo.RegionID, StatsPage);
MainServer.Instance.AddHTTPHandler(
"/monitorstats/" + Uri.EscapeDataString(m_scene.RegionInfo.RegionName), StatsPage);
}
public void DebugMonitors(string module, string[] args)