aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsIn
diff options
context:
space:
mode:
authorDiva Canto2009-08-06 18:43:53 -0700
committerDiva Canto2009-08-06 18:43:53 -0700
commit53ba245967c58f574f58b1d99e077f30985ee7ad (patch)
tree7b45b07e02a34891a4452ab2071c86164a9639f0 /OpenSim/Region/CoreModules/ServiceConnectorsIn
parentAdded missing trailing slash in AuthenticationService. (diff)
downloadopensim-SC-53ba245967c58f574f58b1d99e077f30985ee7ad.zip
opensim-SC-53ba245967c58f574f58b1d99e077f30985ee7ad.tar.gz
opensim-SC-53ba245967c58f574f58b1d99e077f30985ee7ad.tar.bz2
opensim-SC-53ba245967c58f574f58b1d99e077f30985ee7ad.tar.xz
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.
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsIn')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsIn/Authentication/HGAuthServiceInConnectorModule.cs2
1 files changed, 1 insertions, 1 deletions
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
99 if (!m_Registered) 99 if (!m_Registered)
100 { 100 {
101 m_Registered = true; 101 m_Registered = true;
102 new HGAuthServiceInConnector(m_Config, MainServer.Instance); 102 new HGAuthServiceInConnector(m_Config, MainServer.Instance, scene);
103 103
104 //Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer }; 104 //Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer };
105 //ServerUtils.LoadPlugin<IAuthenticationService>("OpenSim.Server.Handlers.dll:HGAuthServiceInConnector", args); 105 //ServerUtils.LoadPlugin<IAuthenticationService>("OpenSim.Server.Handlers.dll:HGAuthServiceInConnector", args);