diff options
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 5142514..6e87448 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -260,6 +260,12 @@ namespace OpenSim.Server.Handlers.Simulation | |||
260 | EntityTransferContext ctx = new EntityTransferContext(); | 260 | EntityTransferContext ctx = new EntityTransferContext(); |
261 | ctx.InboundVersion = inboundVersion; | 261 | ctx.InboundVersion = inboundVersion; |
262 | ctx.OutboundVersion = outboundVersion; | 262 | ctx.OutboundVersion = outboundVersion; |
263 | if (minVersionProvided == 0f) | ||
264 | { | ||
265 | ctx.InboundVersion = version; | ||
266 | ctx.OutboundVersion = version; | ||
267 | } | ||
268 | |||
263 | bool result = m_SimulationService.QueryAccess(destination, agentID, agentHomeURI, viaTeleport, position, features, ctx, out reason); | 269 | bool result = m_SimulationService.QueryAccess(destination, agentID, agentHomeURI, viaTeleport, position, features, ctx, out reason); |
264 | 270 | ||
265 | resp["success"] = OSD.FromBoolean(result); | 271 | resp["success"] = OSD.FromBoolean(result); |