aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.World/World.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.World/World.cs')
-rw-r--r--OpenSim/OpenSim.World/World.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs
index 3e74501..011e39a 100644
--- a/OpenSim/OpenSim.World/World.cs
+++ b/OpenSim/OpenSim.World/World.cs
@@ -524,7 +524,7 @@ namespace OpenSim.world
524 protected void InformClientOfNeighbours(IClientAPI remoteClient) 524 protected void InformClientOfNeighbours(IClientAPI remoteClient)
525 { 525 {
526 // Console.WriteLine("informing client of neighbouring regions"); 526 // Console.WriteLine("informing client of neighbouring regions");
527 List<RegionInfo> neighbours = this.commsManager.RequestNeighbours(this.m_regInfo); 527 List<RegionInfo> neighbours = this.commsManager.gridServer.RequestNeighbours(this.m_regInfo);
528 528
529 //Console.WriteLine("we have " + neighbours.Count + " neighbouring regions"); 529 //Console.WriteLine("we have " + neighbours.Count + " neighbouring regions");
530 if (neighbours != null) 530 if (neighbours != null)
@@ -536,7 +536,7 @@ namespace OpenSim.world
536 agent.BaseFolder = LLUUID.Zero; 536 agent.BaseFolder = LLUUID.Zero;
537 agent.InventoryFolder = LLUUID.Zero; 537 agent.InventoryFolder = LLUUID.Zero;
538 agent.startpos = new LLVector3(128, 128, 70); 538 agent.startpos = new LLVector3(128, 128, 70);
539 this.commsManager.InformNeighbourOfChildAgent(neighbours[i].RegionHandle, agent); 539 this.commsManager.gridServer.InformNeighbourOfChildAgent(neighbours[i].RegionHandle, agent);
540 remoteClient.InformClientOfNeighbour(neighbours[i].RegionHandle, System.Net.IPAddress.Parse(neighbours[i].IPListenAddr), (ushort)neighbours[i].IPListenPort); 540 remoteClient.InformClientOfNeighbour(neighbours[i].RegionHandle, System.Net.IPAddress.Parse(neighbours[i].IPListenAddr), (ushort)neighbours[i].IPListenPort);
541 } 541 }
542 } 542 }
@@ -594,7 +594,7 @@ namespace OpenSim.world
594 594
595 public void RegisterRegionWithComms() 595 public void RegisterRegionWithComms()
596 { 596 {
597 this.regionCommsHost = this.commsManager.RegisterRegion(this.m_regInfo); 597 this.regionCommsHost = this.commsManager.gridServer.RegisterRegion(this.m_regInfo);
598 if (this.regionCommsHost != null) 598 if (this.regionCommsHost != null)
599 { 599 {
600 this.regionCommsHost.OnExpectUser += new ExpectUserDelegate(this.NewUserConnection); 600 this.regionCommsHost.OnExpectUser += new ExpectUserDelegate(this.NewUserConnection);