* Re-aligned CustomiseResponse function for imminent up-pulling

This commit is contained in:
lbsa71
2009-03-10 11:47:34 +00:00
parent 1956930e0d
commit 1917238cd3
3 changed files with 21 additions and 18 deletions

View File

@@ -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))
{