aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-19 06:20:57 +0000
committerMelanie Thielker2008-07-19 06:20:57 +0000
commit351ee78d2a321319101b9ab34f548ce36bd0de71 (patch)
treea3e4f43eef0c83322ba494f28b0121c050a756dd /OpenSim/Region
parentFix prim link numbers (Mantis #1781) (diff)
downloadopensim-SC_OLD-351ee78d2a321319101b9ab34f548ce36bd0de71.zip
opensim-SC_OLD-351ee78d2a321319101b9ab34f548ce36bd0de71.tar.gz
opensim-SC_OLD-351ee78d2a321319101b9ab34f548ce36bd0de71.tar.bz2
opensim-SC_OLD-351ee78d2a321319101b9ab34f548ce36bd0de71.tar.xz
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.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index aed104e..0ab729d 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2474,6 +2474,8 @@ namespace OpenSim.Region.Environment.Scenes
2474 /// <param name="capsObjectPath"></param> 2474 /// <param name="capsObjectPath"></param>
2475 public void AddCapsHandler(LLUUID agentId) 2475 public void AddCapsHandler(LLUUID agentId)
2476 { 2476 {
2477 if(RegionInfo.EstateSettings.IsBanned(agentId))
2478 return;
2477 String capsObjectPath = GetCapsPath(agentId); 2479 String capsObjectPath = GetCapsPath(agentId);
2478 2480
2479 m_log.DebugFormat( 2481 m_log.DebugFormat(