diff options
Diffstat (limited to 'OpenSim/Region/DataSnapshot')
-rw-r--r-- | OpenSim/Region/DataSnapshot/DataRequestHandler.cs | 3 |
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; | |||
31 | using System.Xml; | 31 | using System.Xml; |
32 | using log4net; | 32 | using log4net; |
33 | using OpenMetaverse; | 33 | using OpenMetaverse; |
34 | using OpenSim.Framework; | ||
34 | using OpenSim.Framework.Capabilities; | 35 | using OpenSim.Framework.Capabilities; |
35 | using OpenSim.Framework.Servers; | 36 | using OpenSim.Framework.Servers; |
36 | using OpenSim.Framework.Servers.HttpServer; | 37 | using 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 | } |