errr use invariantculture compare not current

This commit is contained in:
UbitUmarov
2019-03-11 23:24:20 +00:00
parent 186e9e2838
commit 68b0d9f31d

View File

@@ -761,7 +761,7 @@ namespace OpenSim.Services.LLLoginService
//find a exact match
foreach(GridRegion r in regions)
{
if(string.Equals(regionName, r.RegionName, StringComparison.CurrentCultureIgnoreCase))
if(string.Equals(regionName, r.RegionName, StringComparison.InvariantCultureIgnoreCase))
return r;
}
// else, whatever