at login do try proper region name match before sending just somewhere that looks similar

0.9.1.0-post-fixes
UbitUmarov 2019-03-11 23:15:30 +00:00
parent 32a03a49fc
commit 186e9e2838
1 changed files with 8 additions and 0 deletions

View File

@ -757,6 +757,14 @@ namespace OpenSim.Services.LLLoginService
}
}
}
//find a exact match
foreach(GridRegion r in regions)
{
if(string.Equals(regionName, r.RegionName, StringComparison.CurrentCultureIgnoreCase))
return r;
}
// else, whatever
return regions[0];
}
else