aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/UserAgentService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/HypergridService/UserAgentService.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs
index 1a839f3..65963d9 100644
--- a/OpenSim/Services/HypergridService/UserAgentService.cs
+++ b/OpenSim/Services/HypergridService/UserAgentService.cs
@@ -564,6 +564,16 @@ namespace OpenSim.Services.HypergridService
564 564
565 return string.Empty; 565 return string.Empty;
566 } 566 }
567
568 public UUID GetUUID(String first, String last)
569 {
570 // Let's see if it's a local user
571 UserAccount account = m_UserAccountService.GetUserAccount(UUID.Zero, first, last);
572 if (account != null)
573 return account.PrincipalID;
574 else
575 return UUID.Zero;
576 }
567 } 577 }
568 578
569 class TravelingAgentInfo 579 class TravelingAgentInfo