From 351ee78d2a321319101b9ab34f548ce36bd0de71 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 19 Jul 2008 06:20:57 +0000 Subject: [PATCH] Quick fix to make the estate ban list effective again, when the region crossing is also a sim crossing. Prevents the CAPS handler from being set up for a banned user,making them redmap out. Dirty hack, temporary until I can work out how to do it right. --- OpenSim/Region/Environment/Scenes/Scene.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index aed104e97c..0ab729dd52 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2474,6 +2474,8 @@ namespace OpenSim.Region.Environment.Scenes /// public void AddCapsHandler(LLUUID agentId) { + if(RegionInfo.EstateSettings.IsBanned(agentId)) + return; String capsObjectPath = GetCapsPath(agentId); m_log.DebugFormat(