aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GridServers
diff options
context:
space:
mode:
authorMW2007-03-15 10:14:12 +0000
committerMW2007-03-15 10:14:12 +0000
commit8d1e9f83f338de21482547816834f4535cebf5bc (patch)
treeb09bb3a9e1ba4eff9032929b0c3b99cbe08b9965 /src/GridServers
parentAdded simple mono/nant instructions (diff)
downloadopensim-SC_OLD-8d1e9f83f338de21482547816834f4535cebf5bc.zip
opensim-SC_OLD-8d1e9f83f338de21482547816834f4535cebf5bc.tar.gz
opensim-SC_OLD-8d1e9f83f338de21482547816834f4535cebf5bc.tar.bz2
opensim-SC_OLD-8d1e9f83f338de21482547816834f4535cebf5bc.tar.xz
Cleaned up IGridServer interfaces.
Added a try/catch around the http server Startup
Diffstat (limited to '')
-rw-r--r--src/GridServers/LoginServer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/GridServers/LoginServer.cs b/src/GridServers/LoginServer.cs
index da982e7..e678dbf 100644
--- a/src/GridServers/LoginServer.cs
+++ b/src/GridServers/LoginServer.cs
@@ -249,8 +249,11 @@ namespace OpenSim.GridServers
249 _login.BaseFolder = BaseFolderID; 249 _login.BaseFolder = BaseFolderID;
250 _login.InventoryFolder = InventoryFolderID; 250 _login.InventoryFolder = InventoryFolderID;
251 251
252 //working on local computer so lets add to the gridserver's list of sessions 252 //working on local computer so lets add to the gridserver's list of sessions?
253 this._gridServer.AddNewSession(_login); 253 if(OpenSim_Main.gridServers.GridServer.GetName() == "Local")
254 {
255 ((LocalGridBase)this._gridServer).AddNewSession(_login);
256 }
254 257
255 // forward the XML-RPC response to the client 258 // forward the XML-RPC response to the client
256 writer.WriteLine("HTTP/1.0 200 OK"); 259 writer.WriteLine("HTTP/1.0 200 OK");