diff options
author | Justin Clark-Casey (justincc) | 2012-06-15 02:03:50 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-15 02:03:50 +0100 |
commit | 257b1b517dec58bf902bac63bc7ab7080286d415 (patch) | |
tree | e0528b6032f1403cbcd03a216b527c565a2ac777 /OpenSim/Region/ClientStack/RegionApplicationBase.cs | |
parent | minor: Tell user the current debug http level if "debug http" console command... (diff) | |
download | opensim-SC-257b1b517dec58bf902bac63bc7ab7080286d415.zip opensim-SC-257b1b517dec58bf902bac63bc7ab7080286d415.tar.gz opensim-SC-257b1b517dec58bf902bac63bc7ab7080286d415.tar.bz2 opensim-SC-257b1b517dec58bf902bac63bc7ab7080286d415.tar.xz |
Add main instance to internal MainServer.m_Servers list to simplify internal logic.
This does require the server to be added before it is set as the main Instance
Diffstat (limited to 'OpenSim/Region/ClientStack/RegionApplicationBase.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/RegionApplicationBase.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 27a5879..c4324e8 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs | |||
@@ -94,6 +94,7 @@ namespace OpenSim.Region.ClientStack | |||
94 | m_log.InfoFormat("[REGION SERVER]: Starting HTTP server on port {0}", m_httpServerPort); | 94 | m_log.InfoFormat("[REGION SERVER]: Starting HTTP server on port {0}", m_httpServerPort); |
95 | m_httpServer.Start(); | 95 | m_httpServer.Start(); |
96 | 96 | ||
97 | MainServer.AddHttpServer(m_httpServer); | ||
97 | MainServer.Instance = m_httpServer; | 98 | MainServer.Instance = m_httpServer; |
98 | 99 | ||
99 | // "OOB" Server | 100 | // "OOB" Server |