diff options
Diffstat (limited to 'src/GridServers/LoginServer.cs')
-rw-r--r-- | src/GridServers/LoginServer.cs | 7 |
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"); |