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.0.6.0-stable
parent
bcf74416a1
commit
351ee78d2a
|
@ -2474,6 +2474,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// <param name="capsObjectPath"></param>
|
/// <param name="capsObjectPath"></param>
|
||||||
public void AddCapsHandler(LLUUID agentId)
|
public void AddCapsHandler(LLUUID agentId)
|
||||||
{
|
{
|
||||||
|
if(RegionInfo.EstateSettings.IsBanned(agentId))
|
||||||
|
return;
|
||||||
String capsObjectPath = GetCapsPath(agentId);
|
String capsObjectPath = GetCapsPath(agentId);
|
||||||
|
|
||||||
m_log.DebugFormat(
|
m_log.DebugFormat(
|
||||||
|
|
Loading…
Reference in New Issue