aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/OpenSimMain.cs
diff options
context:
space:
mode:
authorMW2007-05-16 18:11:09 +0000
committerMW2007-05-16 18:11:09 +0000
commit5f9b7321bc1bb449715bc3329d1bb5e092fee22b (patch)
tree4d2c060e641f8b95bb2475f5af86036258fe4bdf /OpenSim.RegionServer/OpenSimMain.cs
parentAdded logging and more crap (diff)
downloadopensim-SC-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.zip
opensim-SC-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.tar.gz
opensim-SC-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.tar.bz2
opensim-SC-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.tar.xz
a bit more refactoring
Diffstat (limited to 'OpenSim.RegionServer/OpenSimMain.cs')
-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