at login do try proper region name match before sending just somewhere that looks similar
parent
32a03a49fc
commit
186e9e2838
|
@ -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];
|
return regions[0];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue