diff options
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 99e2b20..ce46043 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -420,10 +420,17 @@ namespace OpenSim.Region.Communications.OGS1 | |||
420 | /// <returns></returns> | 420 | /// <returns></returns> |
421 | public bool IncomingChildAgent(ulong regionHandle, AgentCircuitData agentData) | 421 | public bool IncomingChildAgent(ulong regionHandle, AgentCircuitData agentData) |
422 | { | 422 | { |
423 | if (this.listeners.ContainsKey(regionHandle)) | 423 | try |
424 | { | 424 | { |
425 | this.listeners[regionHandle].TriggerExpectUser(regionHandle, agentData); | 425 | if (this.listeners.ContainsKey(regionHandle)) |
426 | return true; | 426 | { |
427 | this.listeners[regionHandle].TriggerExpectUser(regionHandle, agentData); | ||
428 | return true; | ||
429 | } | ||
430 | } | ||
431 | catch (System.Runtime.Remoting.RemotingException e) | ||
432 | { | ||
433 | MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString()); | ||
427 | } | 434 | } |
428 | return false; | 435 | return false; |
429 | } | 436 | } |