aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index 4ac477f..964ccf8 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -386,7 +386,15 @@ namespace OpenSim.Server.Handlers.Simulation
386 // subclasses can override this 386 // subclasses can override this
387 protected virtual bool CreateAgent(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, uint teleportFlags, bool fromLogin, out string reason) 387 protected virtual bool CreateAgent(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, uint teleportFlags, bool fromLogin, out string reason)
388 { 388 {
389 return m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out reason); 389 reason = String.Empty;
390
391 Util.FireAndForget(x =>
392 {
393 string r;
394 m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out r);
395 });
396
397 return true;
390 } 398 }
391 } 399 }
392 400