mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
a bit more refactoring
This commit is contained in:
@@ -126,10 +126,16 @@ namespace OpenSim
|
||||
if (m_sandbox)
|
||||
{
|
||||
this.SetupLocalGridServers();
|
||||
//Authenticate Session Handler
|
||||
AuthenticateSessionsLocal authen = new AuthenticateSessionsLocal();
|
||||
this.AuthenticateSessionsHandler = authen;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.SetupRemoteGridServers();
|
||||
//Authenticate Session Handler
|
||||
AuthenticateSessionsRemote authen = new AuthenticateSessionsRemote();
|
||||
this.AuthenticateSessionsHandler = authen;
|
||||
}
|
||||
|
||||
startuptime = DateTime.Now;
|
||||
@@ -145,18 +151,6 @@ namespace OpenSim
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
//Authenticate Session Handler
|
||||
if (m_sandbox)
|
||||
{
|
||||
AuthenticateSessionsLocal authen = new AuthenticateSessionsLocal();
|
||||
this.AuthenticateSessionsHandler = authen;
|
||||
}
|
||||
else
|
||||
{
|
||||
AuthenticateSessionsRemote authen = new AuthenticateSessionsRemote();
|
||||
this.AuthenticateSessionsHandler = authen;
|
||||
}
|
||||
|
||||
m_udpServer = new UDPServer(this.regionData.IPListenPort, this.GridServers, this.AssetCache, this.InventoryCache, this.regionData, this.m_sandbox, this.user_accounts, this.m_console, this.AuthenticateSessionsHandler);
|
||||
|
||||
//should be passing a IGenericConfig object to these so they can read the config data they want from it
|
||||
|
||||
Reference in New Issue
Block a user