aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/GatekeeperService.cs
diff options
context:
space:
mode:
authorDiva Canto2012-03-08 15:55:43 -0800
committerDiva Canto2012-03-08 15:55:43 -0800
commit9c8ef96301a0ff11dd5faa191b7fd49e7d1bf79d (patch)
treee3a3b40aa6166ff01bb19cea3db64beaf2339396 /OpenSim/Services/HypergridService/GatekeeperService.cs
parentHold a ref to the prim we're sat on rather than querying scene each time (diff)
downloadopensim-SC-9c8ef96301a0ff11dd5faa191b7fd49e7d1bf79d.zip
opensim-SC-9c8ef96301a0ff11dd5faa191b7fd49e7d1bf79d.tar.gz
opensim-SC-9c8ef96301a0ff11dd5faa191b7fd49e7d1bf79d.tar.bz2
opensim-SC-9c8ef96301a0ff11dd5faa191b7fd49e7d1bf79d.tar.xz
Fixes mantis #5923
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/HypergridService/GatekeeperService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs
index 0a59f86..4e38687 100644
--- a/OpenSim/Services/HypergridService/GatekeeperService.cs
+++ b/OpenSim/Services/HypergridService/GatekeeperService.cs
@@ -296,9 +296,10 @@ namespace OpenSim.Services.HypergridService
296 aCircuit.firstname = account.FirstName; 296 aCircuit.firstname = account.FirstName;
297 aCircuit.lastname = account.LastName; 297 aCircuit.lastname = account.LastName;
298 } 298 }
299 if (account == null && !aCircuit.lastname.StartsWith("@")) 299 if (account == null)
300 { 300 {
301 aCircuit.firstname = aCircuit.firstname + "." + aCircuit.lastname; 301 if (!aCircuit.lastname.StartsWith("@"))
302 aCircuit.firstname = aCircuit.firstname + "." + aCircuit.lastname;
302 try 303 try
303 { 304 {
304 Uri uri = new Uri(aCircuit.ServiceURLs["HomeURI"].ToString()); 305 Uri uri = new Uri(aCircuit.ServiceURLs["HomeURI"].ToString());