aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorUbitUmarov2019-03-11 23:15:30 +0000
committerUbitUmarov2019-03-11 23:15:30 +0000
commit186e9e2838018affd82d62444e7fdfb08400960f (patch)
tree3787fc2a8471a82ce92e0903c4cfbe5f692429c1 /OpenSim/Services
parentlludp: direct encode terrain patchs packets (diff)
downloadopensim-SC-186e9e2838018affd82d62444e7fdfb08400960f.zip
opensim-SC-186e9e2838018affd82d62444e7fdfb08400960f.tar.gz
opensim-SC-186e9e2838018affd82d62444e7fdfb08400960f.tar.bz2
opensim-SC-186e9e2838018affd82d62444e7fdfb08400960f.tar.xz
at login do try proper region name match before sending just somewhere that looks similar
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 0438673..3a6f41b 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.CurrentCultureIgnoreCase))
765 return r;
766 }
767 // else, whatever
760 return regions[0]; 768 return regions[0];
761 } 769 }
762 else 770 else