diff --git a/GridServer.cs b/GridServer.cs index d70c63f3dc..b8de288ee1 100644 --- a/GridServer.cs +++ b/GridServer.cs @@ -68,6 +68,10 @@ namespace OpenSim return(user); } + /// + /// used by the local login server to inform us of new sessions + /// + /// public void AddNewSession(Logon session) { lock(this.Sessions) @@ -83,7 +87,6 @@ namespace OpenSim UUIDBlock RequestUUIDBlock(); RegionInfo[] RequestNeighbours(); AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode); - void AddNewSession(Logon session); } public struct UUIDBlock diff --git a/LoginServer.cs b/LoginServer.cs index d769f264f6..fa044fc7ed 100644 --- a/LoginServer.cs +++ b/LoginServer.cs @@ -247,7 +247,7 @@ namespace OpenSim _login.InventoryFolder = InventoryFolderID; //working on local computer so lets add to the gridserver's list of sessions - this._gridServer.AddNewSession(_login); + ((GridServer)this._gridServer).AddNewSession(_login); // forward the XML-RPC response to the client writer.WriteLine("HTTP/1.0 200 OK");