diff options
author | Melanie Thielker | 2008-07-19 06:20:57 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-19 06:20:57 +0000 |
commit | 351ee78d2a321319101b9ab34f548ce36bd0de71 (patch) | |
tree | a3e4f43eef0c83322ba494f28b0121c050a756dd | |
parent | Fix prim link numbers (Mantis #1781) (diff) | |
download | opensim-SC-351ee78d2a321319101b9ab34f548ce36bd0de71.zip opensim-SC-351ee78d2a321319101b9ab34f548ce36bd0de71.tar.gz opensim-SC-351ee78d2a321319101b9ab34f548ce36bd0de71.tar.bz2 opensim-SC-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.
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
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( |