aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut
diff options
context:
space:
mode:
authorMelanie2011-01-27 02:16:41 +0100
committerMelanie2011-01-27 02:16:41 +0100
commit11c742a5a8b1edd97923cc445aa43e0ba92f1bce (patch)
tree08221312c1d40942466d2e119be1f8103808a89b /OpenSim/Region/CoreModules/ServiceConnectorsOut
parentReproduce a corner case behavior for llListReplaceList (diff)
downloadopensim-SC_OLD-11c742a5a8b1edd97923cc445aa43e0ba92f1bce.zip
opensim-SC_OLD-11c742a5a8b1edd97923cc445aa43e0ba92f1bce.tar.gz
opensim-SC_OLD-11c742a5a8b1edd97923cc445aa43e0ba92f1bce.tar.bz2
opensim-SC_OLD-11c742a5a8b1edd97923cc445aa43e0ba92f1bce.tar.xz
Make bans work for teleport. Now teleport will complete block if the user
is not allowed on the estate. If the user is allowed on no parcel, the teleport will also be blocked. If the user is allowed on a parcel, but not the desired one, the user will be shifted to the closest allowed location.
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
index 5be6486..aaf7bf3 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
@@ -264,13 +264,9 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
264 264
265 foreach (Scene s in m_sceneList) 265 foreach (Scene s in m_sceneList)
266 { 266 {
267 if (s.RegionInfo.RegionHandle == destination.RegionHandle) 267 if (s.RegionInfo.RegionID == destination.RegionID)
268 {
269 //m_log.Debug("[LOCAL COMMS]: Found region to send QueryAccess");
270 return s.QueryAccess(id); 268 return s.QueryAccess(id);
271 }
272 } 269 }
273 //m_log.Debug("[LOCAL COMMS]: region not found for QueryAccess");
274 return false; 270 return false;
275 } 271 }
276 272