From 1917238cd3f24f05343a8b7737b8208c6e587700 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 10 Mar 2009 11:47:34 +0000 Subject: * Re-aligned CustomiseResponse function for imminent up-pulling --- OpenSim/Grid/UserServer.Modules/UserLoginService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Grid') diff --git a/OpenSim/Grid/UserServer.Modules/UserLoginService.cs b/OpenSim/Grid/UserServer.Modules/UserLoginService.cs index 95e58a8..4e672f6 100644 --- a/OpenSim/Grid/UserServer.Modules/UserLoginService.cs +++ b/OpenSim/Grid/UserServer.Modules/UserLoginService.cs @@ -71,6 +71,8 @@ namespace OpenSim.Grid.UserServer.Modules : base(userManager, libraryRootFolder, welcomeMess) { m_config = config; + m_defaultHomeX = m_config.DefaultX; + m_defaultHomeY = m_config.DefaultY; m_inventoryService = inventoryService; m_regionProfileService = regionProfileService; } @@ -302,8 +304,8 @@ namespace OpenSim.Grid.UserServer.Modules // Send him to default region instead // Load information from the gridserver - ulong defaultHandle = (((ulong) m_config.DefaultX * Constants.RegionSize) << 32) | - ((ulong) m_config.DefaultY * Constants.RegionSize); + ulong defaultHandle = (((ulong) m_defaultHomeX * Constants.RegionSize) << 32) | + ((ulong) m_defaultHomeY * Constants.RegionSize); if ((regionInfo != null) && (defaultHandle == regionInfo.regionHandle)) { -- cgit v1.1