diff options
author | Melanie | 2010-01-11 05:12:01 +0000 |
---|---|---|
committer | Melanie | 2010-01-11 05:12:01 +0000 |
commit | bfddd75ca8946360728787e56a81b2d0f4a880f6 (patch) | |
tree | c3eaf43df49488f43b13b2974bca3ee601040545 /OpenSim/Region/Application/OpenSim.cs | |
parent | Refactor. Move MainServer init to a place with greener grass (diff) | |
download | opensim-SC_OLD-bfddd75ca8946360728787e56a81b2d0f4a880f6.zip opensim-SC_OLD-bfddd75ca8946360728787e56a81b2d0f4a880f6.tar.gz opensim-SC_OLD-bfddd75ca8946360728787e56a81b2d0f4a880f6.tar.bz2 opensim-SC_OLD-bfddd75ca8946360728787e56a81b2d0f4a880f6.tar.xz |
Refactor. Instantiate sim status handlers in opensim base, not in a plugin
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 31cc610..aedf21e 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -148,6 +148,11 @@ namespace OpenSim | |||
148 | 148 | ||
149 | RegisterConsoleCommands(); | 149 | RegisterConsoleCommands(); |
150 | 150 | ||
151 | MainServer.Instance.AddStreamHandler(new OpenSim.SimStatusHandler()); | ||
152 | MainServer.Instance.AddStreamHandler(new OpenSim.XSimStatusHandler(this)); | ||
153 | if (userStatsURI != String.Empty) | ||
154 | MainServer.Instance.AddStreamHandler(new OpenSim.UXSimStatusHandler(this)); | ||
155 | |||
151 | base.StartupSpecific(); | 156 | base.StartupSpecific(); |
152 | 157 | ||
153 | if (m_console is RemoteConsole) | 158 | if (m_console is RemoteConsole) |