diff options
Diffstat (limited to 'OpenSim/Region/UserStatistics/WebStatsModule.cs')
-rw-r--r-- | OpenSim/Region/UserStatistics/WebStatsModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs index 4f6fcce..0807607 100644 --- a/OpenSim/Region/UserStatistics/WebStatsModule.cs +++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs | |||
@@ -127,8 +127,8 @@ namespace OpenSim.Region.UserStatistics | |||
127 | //// | 127 | //// |
128 | 128 | ||
129 | 129 | ||
130 | scene.CommsManager.HttpServer.AddHTTPHandler("/SStats/", HandleStatsRequest); | 130 | MainServer.Instance.AddHTTPHandler("/SStats/", HandleStatsRequest); |
131 | scene.CommsManager.HttpServer.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest); | 131 | MainServer.Instance.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest); |
132 | } | 132 | } |
133 | 133 | ||
134 | m_scene.Add(scene); | 134 | m_scene.Add(scene); |
@@ -236,7 +236,7 @@ namespace OpenSim.Region.UserStatistics | |||
236 | } | 236 | } |
237 | else | 237 | else |
238 | { | 238 | { |
239 | strOut = m_scene[0].CommsManager.HttpServer.GetHTTP404(""); | 239 | strOut = MainServer.Instance.GetHTTP404(""); |
240 | } | 240 | } |
241 | 241 | ||
242 | 242 | ||