diff options
author | Justin Clark-Casey (justincc) | 2014-07-21 23:53:33 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-21 23:53:33 +0100 |
commit | 3c6becd52495360b24b3760a30fb0e007f5a16a3 (patch) | |
tree | 51362e21c3ea699e948e19ee3ce4a37058d1c337 /OpenSim/Services/HypergridService | |
parent | minor: Limit processor related stats to 3 decimal places instead of all the p... (diff) | |
download | opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.zip opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.tar.gz opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.tar.bz2 opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.tar.xz |
On login and first HG entrance to a foreign grid, perform query access checks before proceeding.
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 69a593b..771114e 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -432,6 +432,13 @@ namespace OpenSim.Services.HypergridService | |||
432 | 432 | ||
433 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Launching {0}, Teleport Flags: {1}", aCircuit.Name, loginFlag); | 433 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Launching {0}, Teleport Flags: {1}", aCircuit.Name, loginFlag); |
434 | 434 | ||
435 | string version; | ||
436 | |||
437 | if (!m_SimulationService.QueryAccess( | ||
438 | destination, aCircuit.AgentID, aCircuit.ServiceURLs["HomeURI"].ToString(), | ||
439 | true, aCircuit.startpos, null, out version, out reason)) | ||
440 | return false; | ||
441 | |||
435 | return m_SimulationService.CreateAgent(source, destination, aCircuit, (uint)loginFlag, out reason); | 442 | return m_SimulationService.CreateAgent(source, destination, aCircuit, (uint)loginFlag, out reason); |
436 | } | 443 | } |
437 | 444 | ||