aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot/DataRequestHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/DataSnapshot/DataRequestHandler.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/DataSnapshot/DataRequestHandler.cs b/OpenSim/Region/DataSnapshot/DataRequestHandler.cs
index ed5c9ec..964e4b9 100644
--- a/OpenSim/Region/DataSnapshot/DataRequestHandler.cs
+++ b/OpenSim/Region/DataSnapshot/DataRequestHandler.cs
@@ -31,6 +31,7 @@ using System.Reflection;
31using System.Xml; 31using System.Xml;
32using log4net; 32using log4net;
33using OpenMetaverse; 33using OpenMetaverse;
34using OpenSim.Framework;
34using OpenSim.Framework.Capabilities; 35using OpenSim.Framework.Capabilities;
35using OpenSim.Framework.Servers; 36using OpenSim.Framework.Servers;
36using OpenSim.Framework.Servers.HttpServer; 37using OpenSim.Framework.Servers.HttpServer;
@@ -53,7 +54,7 @@ namespace OpenSim.Region.DataSnapshot
53 m_externalData = externalData; 54 m_externalData = externalData;
54 55
55 //Register HTTP handler 56 //Register HTTP handler
56 if (m_scene.CommsManager.HttpServer.AddHTTPHandler("collector", OnGetSnapshot)) 57 if (MainServer.Instance.AddHTTPHandler("collector", OnGetSnapshot))
57 { 58 {
58 m_log.Info("[DATASNAPSHOT]: Set up snapshot service"); 59 m_log.Info("[DATASNAPSHOT]: Set up snapshot service");
59 } 60 }