aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/OpenSimMain.cs18
1 files changed, 6 insertions, 12 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs
index 55dab3b..f78873d 100644
--- a/OpenSim.RegionServer/OpenSimMain.cs
+++ b/OpenSim.RegionServer/OpenSimMain.cs
@@ -126,10 +126,16 @@ namespace OpenSim
126 if (m_sandbox) 126 if (m_sandbox)
127 { 127 {
128 this.SetupLocalGridServers(); 128 this.SetupLocalGridServers();
129 //Authenticate Session Handler
130 AuthenticateSessionsLocal authen = new AuthenticateSessionsLocal();
131 this.AuthenticateSessionsHandler = authen;
129 } 132 }
130 else 133 else
131 { 134 {
132 this.SetupRemoteGridServers(); 135 this.SetupRemoteGridServers();
136 //Authenticate Session Handler
137 AuthenticateSessionsRemote authen = new AuthenticateSessionsRemote();
138 this.AuthenticateSessionsHandler = authen;
133 } 139 }
134 140
135 startuptime = DateTime.Now; 141 startuptime = DateTime.Now;
@@ -145,18 +151,6 @@ namespace OpenSim
145 Environment.Exit(1); 151 Environment.Exit(1);
146 } 152 }
147 153
148 //Authenticate Session Handler
149 if (m_sandbox)
150 {
151 AuthenticateSessionsLocal authen = new AuthenticateSessionsLocal();
152 this.AuthenticateSessionsHandler = authen;
153 }
154 else
155 {
156 AuthenticateSessionsRemote authen = new AuthenticateSessionsRemote();
157 this.AuthenticateSessionsHandler = authen;
158 }
159
160 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); 154 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);
161 155
162 //should be passing a IGenericConfig object to these so they can read the config data they want from it 156 //should be passing a IGenericConfig object to these so they can read the config data they want from it