diff options
author | UbitUmarov | 2012-03-21 02:45:33 +0000 |
---|---|---|
committer | UbitUmarov | 2012-03-21 02:45:33 +0000 |
commit | 312f0c69703e5914f377fd05871319c1ed6f3abf (patch) | |
tree | 29703861d132c793ec3bbcfbb202006ff6c53415 /OpenSim/Services/HypergridService/UserAgentService.cs | |
parent | Changes of PrimShapeType should now work with UbitOde ( almost untested ) (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC-312f0c69703e5914f377fd05871319c1ed6f3abf.zip opensim-SC-312f0c69703e5914f377fd05871319c1ed6f3abf.tar.gz opensim-SC-312f0c69703e5914f377fd05871319c1ed6f3abf.tar.bz2 opensim-SC-312f0c69703e5914f377fd05871319c1ed6f3abf.tar.xz |
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Services/HypergridService/UserAgentService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 10 |
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 |