mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Remove all references to HttpServer from CommsManager (all incarnations)
Change all uses of the HttpServer properties to use the new singleton
This commit is contained in:
@@ -124,7 +124,7 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
||||
// IAssetDataPlugin m_assetProvider
|
||||
// = ((AssetServerBase)m_scene.CommsManager.AssetCache.AssetServer).AssetProviderPlugin;
|
||||
|
||||
IHttpServer httpServer = m_scene.CommsManager.HttpServer;
|
||||
IHttpServer httpServer = MainServer.Instance;
|
||||
httpServer.AddXmlRPCHandler("simulator_data_request", XmlRpcSimulatorDataRequestMethod);
|
||||
//m_httpServer.AddXmlRPCHandler("map_block", XmlRpcMapBlockMethod);
|
||||
//m_httpServer.AddXmlRPCHandler("search_for_region_by_name", XmlRpcSearchForRegionMethod);
|
||||
|
||||
Reference in New Issue
Block a user