diff options
author | meta7 | 2010-08-18 02:53:27 -0700 |
---|---|---|
committer | meta7 | 2010-08-18 02:53:27 -0700 |
commit | ca8b1e488c167e5644567cb001c9c2a6504f15f7 (patch) | |
tree | 2a99b396dd4ccbd6c801efc0890fad1bd94b45e2 /OpenSim/Services/HypergridService | |
parent | Fix a nullref exception in the prioritizer (diff) | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.zip opensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.gz opensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.bz2 opensim-SC-ca8b1e488c167e5644567cb001c9c2a6504f15f7.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 3aaafe8..6f041da 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -259,7 +259,16 @@ namespace OpenSim.Services.HypergridService | |||
259 | if (account == null && !aCircuit.lastname.StartsWith("@")) | 259 | if (account == null && !aCircuit.lastname.StartsWith("@")) |
260 | { | 260 | { |
261 | aCircuit.firstname = aCircuit.firstname + "." + aCircuit.lastname; | 261 | aCircuit.firstname = aCircuit.firstname + "." + aCircuit.lastname; |
262 | aCircuit.lastname = "@" + aCircuit.ServiceURLs["HomeURI"].ToString(); | 262 | try |
263 | { | ||
264 | Uri uri = new Uri(aCircuit.ServiceURLs["HomeURI"].ToString()); | ||
265 | aCircuit.lastname = "@" + uri.Host; // + ":" + uri.Port; | ||
266 | } | ||
267 | catch | ||
268 | { | ||
269 | m_log.WarnFormat("[GATEKEEPER SERVICE]: Malformed HomeURI (this should never happen): {0}", aCircuit.ServiceURLs["HomeURI"]); | ||
270 | aCircuit.lastname = "@" + aCircuit.ServiceURLs["HomeURI"].ToString(); | ||
271 | } | ||
263 | } | 272 | } |
264 | 273 | ||
265 | // | 274 | // |