diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 7291931..6d3a3a7 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -144,12 +144,16 @@ namespace OpenSim.Server.Handlers.Simulation | |||
144 | if (args.ContainsKey("agent_home_uri")) | 144 | if (args.ContainsKey("agent_home_uri")) |
145 | agentHomeURI = args["agent_home_uri"].AsString(); | 145 | agentHomeURI = args["agent_home_uri"].AsString(); |
146 | 146 | ||
147 | string theirVersion = string.Empty; | ||
148 | if (args.ContainsKey("my_version")) | ||
149 | theirVersion = args["my_version"].AsString(); | ||
150 | |||
147 | GridRegion destination = new GridRegion(); | 151 | GridRegion destination = new GridRegion(); |
148 | destination.RegionID = regionID; | 152 | destination.RegionID = regionID; |
149 | 153 | ||
150 | string reason; | 154 | string reason; |
151 | string version; | 155 | string version; |
152 | bool result = m_SimulationService.QueryAccess(destination, agentID, agentHomeURI, viaTeleport, position, out version, out reason); | 156 | bool result = m_SimulationService.QueryAccess(destination, agentID, agentHomeURI, viaTeleport, position, theirVersion, out version, out reason); |
153 | 157 | ||
154 | responsedata["int_response_code"] = HttpStatusCode.OK; | 158 | responsedata["int_response_code"] = HttpStatusCode.OK; |
155 | 159 | ||