mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
at login do try proper region name match before sending just somewhere that looks similar
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user