From 53ba245967c58f574f58b1d99e077f30985ee7ad Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 6 Aug 2009 18:43:53 -0700 Subject: HGAuthenticationService must be a singleton, because it has in-memory state. This makes this singleton register with IScene, so that other parts can retrieve its reference. --- .../Authentication/HGAuthServiceInConnectorModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Authentication/HGAuthServiceInConnectorModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Authentication/HGAuthServiceInConnectorModule.cs index f4ebc70..6f2371d 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Authentication/HGAuthServiceInConnectorModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Authentication/HGAuthServiceInConnectorModule.cs @@ -99,7 +99,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Authentication if (!m_Registered) { m_Registered = true; - new HGAuthServiceInConnector(m_Config, MainServer.Instance); + new HGAuthServiceInConnector(m_Config, MainServer.Instance, scene); //Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer }; //ServerUtils.LoadPlugin("OpenSim.Server.Handlers.dll:HGAuthServiceInConnector", args); -- cgit v1.1