diff options
A bit more refactoring of the GridServer. To make the "modules" share a common Initialise method.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/GridServer/GridServerBase.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index d4d268c..ffe0378 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs | |||
@@ -155,14 +155,14 @@ namespace OpenSim.Grid.GridServer | |||
155 | m_gridDBService = new GridDBService(); | 155 | m_gridDBService = new GridDBService(); |
156 | m_gridDBService.AddPlugin(m_config.DatabaseProvider, m_config.DatabaseConnect); | 156 | m_gridDBService.AddPlugin(m_config.DatabaseProvider, m_config.DatabaseConnect); |
157 | 157 | ||
158 | m_gridMessageModule = new GridMessagingModule(m_version, m_gridDBService, this, m_config); | 158 | m_gridMessageModule = new GridMessagingModule(); |
159 | m_gridMessageModule.Initialise(); | 159 | m_gridMessageModule.Initialise(m_version, m_gridDBService, this, m_config); |
160 | 160 | ||
161 | m_gridXmlRpcModule = new GridXmlRpcModule(m_version, m_gridDBService, this, m_config); | 161 | m_gridXmlRpcModule = new GridXmlRpcModule(); |
162 | m_gridXmlRpcModule.Initialise(); | 162 | m_gridXmlRpcModule.Initialise(m_version, m_gridDBService, this, m_config); |
163 | 163 | ||
164 | m_gridRestModule = new GridRestModule(m_version, m_gridDBService, this, m_config); | 164 | m_gridRestModule = new GridRestModule(); |
165 | m_gridRestModule.Initialise(); | 165 | m_gridRestModule.Initialise(m_version, m_gridDBService, this, m_config); |
166 | } | 166 | } |
167 | 167 | ||
168 | public void CheckSims(object sender, ElapsedEventArgs e) | 168 | public void CheckSims(object sender, ElapsedEventArgs e) |