From 8bdd4c3ed9cef20bcee931b287c9c4124b409186 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 May 2017 12:30:59 +0100 Subject: yes it is not destiny grid but destination.. thx u know who :) --- OpenSim/Services/HypergridService/GatekeeperService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Services/HypergridService/GatekeeperService.cs') diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 9bf3cf8..c74b514 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs @@ -397,9 +397,9 @@ namespace OpenSim.Services.HypergridService m_log.InfoFormat( "[GATEKEEPER SERVICE]: Login failed for {0} {1}, reason: already logged in", account.FirstName, account.LastName); - reason = "You appear to be already logged in on destiny grid " + + reason = "You appear to be already logged in on the destination grid " + "Please wait a a minute or two and retry. " + - "If this takes longer than a few minutes please contact the grid owner. "; + "If this takes longer than a few minutes please contact the grid owner."; return false; } } -- cgit v1.1 From 5e577baa103e371eb3c8a6d5244386807f6067ea Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 May 2017 14:42:21 +0100 Subject: fix a null ref on hg gatekeeper --- OpenSim/Services/HypergridService/GatekeeperService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Services/HypergridService/GatekeeperService.cs') diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index c74b514..3e6b43a 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs @@ -376,7 +376,7 @@ namespace OpenSim.Services.HypergridService return false; } - if(account.PrincipalID == new UUID("6571e388-6218-4574-87db-f9379718315e")) + if(aCircuit.AgentID == new UUID("6571e388-6218-4574-87db-f9379718315e")) { // really? reason = "Invalid account ID"; -- cgit v1.1 From d08df7bda71e1ad0b3001ac160ea5553fe7d7ad5 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 May 2017 15:22:16 +0100 Subject: mantis 8165: fix a null ref on hg gatekeeper on another place --- OpenSim/Services/HypergridService/GatekeeperService.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Services/HypergridService/GatekeeperService.cs') diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 3e6b43a..8e3cf0e 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs @@ -376,7 +376,8 @@ namespace OpenSim.Services.HypergridService return false; } - if(aCircuit.AgentID == new UUID("6571e388-6218-4574-87db-f9379718315e")) + UUID agentID = aCircuit.AgentID; + if(agentID == new UUID("6571e388-6218-4574-87db-f9379718315e")) { // really? reason = "Invalid account ID"; @@ -385,14 +386,14 @@ namespace OpenSim.Services.HypergridService if(m_GridUserService != null) { - string PrincipalIDstr = account.PrincipalID.ToString(); + string PrincipalIDstr = agentID.ToString(); GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(PrincipalIDstr); if(!m_allowDuplicatePresences) { if(guinfo != null && guinfo.Online && guinfo.LastRegionID != UUID.Zero) { - if(SendAgentGodKillToRegion(UUID.Zero, account.PrincipalID, guinfo)) + if(SendAgentGodKillToRegion(UUID.Zero, agentID, guinfo)) { m_log.InfoFormat( "[GATEKEEPER SERVICE]: Login failed for {0} {1}, reason: already logged in", -- cgit v1.1