Moved MainServer.Instance.AddStreamHandler(new OpenSim.SimStatusHandler()); around, because it was crashing. Now it crashes elsewhere.

slimupdates
Diva Canto 2010-01-11 08:11:04 -08:00
parent c5ea783526
commit 19ad68e5e4
1 changed files with 2 additions and 2 deletions

View File

@ -148,13 +148,13 @@ namespace OpenSim
RegisterConsoleCommands(); RegisterConsoleCommands();
base.StartupSpecific();
MainServer.Instance.AddStreamHandler(new OpenSim.SimStatusHandler()); MainServer.Instance.AddStreamHandler(new OpenSim.SimStatusHandler());
MainServer.Instance.AddStreamHandler(new OpenSim.XSimStatusHandler(this)); MainServer.Instance.AddStreamHandler(new OpenSim.XSimStatusHandler(this));
if (userStatsURI != String.Empty) if (userStatsURI != String.Empty)
MainServer.Instance.AddStreamHandler(new OpenSim.UXSimStatusHandler(this)); MainServer.Instance.AddStreamHandler(new OpenSim.UXSimStatusHandler(this));
base.StartupSpecific();
if (m_console is RemoteConsole) if (m_console is RemoteConsole)
((RemoteConsole)m_console).SetServer(m_httpServer); ((RemoteConsole)m_console).SetServer(m_httpServer);