diff options
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 0438673..22748cc 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -757,6 +757,14 @@ namespace OpenSim.Services.LLLoginService | |||
757 | } | 757 | } |
758 | } | 758 | } |
759 | } | 759 | } |
760 | |||
761 | //find a exact match | ||
762 | foreach(GridRegion r in regions) | ||
763 | { | ||
764 | if(string.Equals(regionName, r.RegionName, StringComparison.InvariantCultureIgnoreCase)) | ||
765 | return r; | ||
766 | } | ||
767 | // else, whatever | ||
760 | return regions[0]; | 768 | return regions[0]; |
761 | } | 769 | } |
762 | else | 770 | else |