aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 14ae5f1..eaf6e4f 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -604,10 +604,11 @@ namespace OpenSim
604 // Shutting down the client server 604 // Shutting down the client server
605 bool foundClientServer = false; 605 bool foundClientServer = false;
606 int clientServerElement = 0; 606 int clientServerElement = 0;
607 Location location = new Location(whichRegion.RegionHandle);
607 608
608 for (int i = 0; i < m_clientServers.Count; i++) 609 for (int i = 0; i < m_clientServers.Count; i++)
609 { 610 {
610 if (m_clientServers[i].HandlesRegion(new Location(whichRegion.RegionHandle))) 611 if (m_clientServers[i].HandlesRegion(location))
611 { 612 {
612 clientServerElement = i; 613 clientServerElement = i;
613 foundClientServer = true; 614 foundClientServer = true;