aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
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 92b3137..1ea17b5 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -588,6 +588,7 @@ namespace OpenSim.Services.LLLoginService
588 List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID); 588 List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID);
589 if (defaults != null && defaults.Count > 0) 589 if (defaults != null && defaults.Count > 0)
590 { 590 {
591 flags |= TeleportFlags.ViaRegionID;
591 region = defaults[0]; 592 region = defaults[0];
592 where = "safe"; 593 where = "safe";
593 } 594 }
@@ -597,7 +598,10 @@ namespace OpenSim.Services.LLLoginService
597 account.FirstName, account.LastName); 598 account.FirstName, account.LastName);
598 region = FindAlternativeRegion(scopeID); 599 region = FindAlternativeRegion(scopeID);
599 if (region != null) 600 if (region != null)
601 {
602 flags |= TeleportFlags.ViaRegionID;
600 where = "safe"; 603 where = "safe";
604 }
601 } 605 }
602 } 606 }
603 607
@@ -618,6 +622,7 @@ namespace OpenSim.Services.LLLoginService
618 List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID); 622 List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID);
619 if (defaults != null && defaults.Count > 0) 623 if (defaults != null && defaults.Count > 0)
620 { 624 {
625 flags |= TeleportFlags.ViaRegionID;
621 region = defaults[0]; 626 region = defaults[0];
622 where = "safe"; 627 where = "safe";
623 } 628 }
@@ -626,7 +631,10 @@ namespace OpenSim.Services.LLLoginService
626 m_log.Info("[LLOGIN SERVICE]: Last Region Not Found Attempting to find random region"); 631 m_log.Info("[LLOGIN SERVICE]: Last Region Not Found Attempting to find random region");
627 region = FindAlternativeRegion(scopeID); 632 region = FindAlternativeRegion(scopeID);
628 if (region != null) 633 if (region != null)
634 {
635 flags |= TeleportFlags.ViaRegionID;
629 where = "safe"; 636 where = "safe";
637 }
630 } 638 }
631 639
632 } 640 }