From ef7dfae41c728d10cfe835cb256958c354449f1b Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 10 Apr 2008 14:37:17 +0000 Subject: changing UserAgentData to use properties. This caused more grief than expected, as monodevelop doesn't like to refactor properties of properties. --- OpenSim/Region/Communications/Local/LocalLoginService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Communications/Local/LocalLoginService.cs') diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index 8895c6e..4aad93c 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs @@ -127,7 +127,7 @@ namespace OpenSim.Region.Communications.Local ulong currentRegion = 0; if (startLocationRequest == "last") { - currentRegion = theUser.CurrentAgent.currentHandle; + currentRegion = theUser.CurrentAgent.CurrentHandle; } else if (startLocationRequest == "home") { @@ -138,7 +138,7 @@ namespace OpenSim.Region.Communications.Local m_log.Info("[LOGIN]: Got Custom Login URL, but can't process it"); // LocalBackEndServices can't possibly look up a region by name :( // TODO: Parse string in the following format: 'uri:RegionName&X&Y&Z' - currentRegion = theUser.CurrentAgent.currentHandle; + currentRegion = theUser.CurrentAgent.CurrentHandle; } RegionInfo reg = m_Parent.GridService.RequestNeighbourInfo(currentRegion); @@ -164,8 +164,8 @@ namespace OpenSim.Region.Communications.Local "[CAPS]: Sending new CAPS seed url {0} to client {1}", response.SeedCapability, response.AgentID); - theUser.CurrentAgent.currentRegion = reg.RegionID; - theUser.CurrentAgent.currentHandle = reg.RegionHandle; + theUser.CurrentAgent.CurrentRegion = reg.RegionID; + theUser.CurrentAgent.CurrentHandle = reg.RegionHandle; LoginResponse.BuddyList buddyList = new LoginResponse.BuddyList(); -- cgit v1.1