* refactor: call AddHttpHandler() directly via CommsManager

This commit is contained in:
Justin Clarke Casey
2009-01-06 14:44:45 +00:00
parent b07c188b7e
commit fde6a1665c
5 changed files with 6 additions and 20 deletions

View File

@@ -53,7 +53,7 @@ namespace OpenSim.Region.DataSnapshot
m_externalData = externalData;
//Register HTTP handler
if (m_scene.AddHTTPHandler("collector", OnGetSnapshot))
if (m_scene.CommsManager.HttpServer.AddHTTPHandler("collector", OnGetSnapshot))
{
m_log.Info("[DATASNAPSHOT]: Set up snapshot service");
}