aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications
diff options
context:
space:
mode:
authorAdam Frisby2007-07-17 23:47:45 +0000
committerAdam Frisby2007-07-17 23:47:45 +0000
commitf65808ab07e708cbbc9c970f9a97ef691bb91bdb (patch)
tree564668d69d64e864f50f13ea3e84a3069dc9fa7b /OpenSim/Region/Communications
parent* More LSL related fun (diff)
downloadopensim-SC-f65808ab07e708cbbc9c970f9a97ef691bb91bdb.zip
opensim-SC-f65808ab07e708cbbc9c970f9a97ef691bb91bdb.tar.gz
opensim-SC-f65808ab07e708cbbc9c970f9a97ef691bb91bdb.tar.bz2
opensim-SC-f65808ab07e708cbbc9c970f9a97ef691bb91bdb.tar.xz
* More LSL changes (and fixing a compile warning)
* More attempted fixes for the phantom remoting bug.
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index ce46043..a859826 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -444,10 +444,17 @@ namespace OpenSim.Region.Communications.OGS1
444 /// <returns></returns> 444 /// <returns></returns>
445 public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position) 445 public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position)
446 { 446 {
447 if (this.listeners.ContainsKey(regionHandle)) 447 try
448 { 448 {
449 this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position); 449 if (this.listeners.ContainsKey(regionHandle))
450 return true; 450 {
451 this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position);
452 return true;
453 }
454 }
455 catch (System.Runtime.Remoting.RemotingException e)
456 {
457 MainLog.Instance.Error("Remoting Error: Unable to connect to remote region.\n" + e.ToString());
451 } 458 }
452 return false; 459 return false;
453 } 460 }