diff options
author | Diva Canto | 2015-10-18 16:06:31 -0700 |
---|---|---|
committer | Diva Canto | 2015-10-18 16:06:31 -0700 |
commit | 70a46fe0907c822a5244e36c338bf559ffbec965 (patch) | |
tree | 6b275cb6256e90e000cbef4b3ce00380912dda99 /OpenSim/Services/HypergridService | |
parent | The protocol version checking on the grid server connector seemed to have a b... (diff) | |
download | opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.zip opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.tar.gz opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.tar.bz2 opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.tar.xz |
Clean up of simulation version, the number that rules the compatibility of teleports:
- It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure
- Its definition moved to the global VersionInfo class
As of now it's still 0.3.
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 87c6810..bee3db3 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -454,9 +454,10 @@ namespace OpenSim.Services.HypergridService | |||
454 | 454 | ||
455 | string version; | 455 | string version; |
456 | 456 | ||
457 | string myversion = String.Format("SIMULATION/{0}", VersionInfo.SimulationServiceVersion); | ||
457 | if (!m_SimulationService.QueryAccess( | 458 | if (!m_SimulationService.QueryAccess( |
458 | destination, aCircuit.AgentID, aCircuit.ServiceURLs["HomeURI"].ToString(), | 459 | destination, aCircuit.AgentID, aCircuit.ServiceURLs["HomeURI"].ToString(), |
459 | true, aCircuit.startpos, "SIMULATION/0.3", new List<UUID>(), out version, out reason)) | 460 | true, aCircuit.startpos, myversion, new List<UUID>(), out version, out reason)) |
460 | return false; | 461 | return false; |
461 | 462 | ||
462 | return m_SimulationService.CreateAgent(source, destination, aCircuit, (uint)loginFlag, out reason); | 463 | return m_SimulationService.CreateAgent(source, destination, aCircuit, (uint)loginFlag, out reason); |