mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
*Ban lines now work if they are enabled grid wide.
*Restricted lines just give you a friendly warning for now
This commit is contained in:
@@ -821,8 +821,16 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
Dictionary<string, string> dGridSettings = m_sceneGridService.GetGridSettings();
|
||||
if (dGridSettings.ContainsKey("allow_forceful_banlines"))
|
||||
{
|
||||
if (dGridSettings["allow_forceful_banlines"] != "TRUE")
|
||||
MainLog.Instance.Verbose("GRID","Grid is disabling forceful parcel banlists");
|
||||
if (dGridSettings["allow_forceful_banlines"] != "TRUE")
|
||||
{
|
||||
MainLog.Instance.Verbose("GRID", "Grid is disabling forceful parcel banlists");
|
||||
m_LandManager.allowedForcefulBans = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
MainLog.Instance.Verbose("GRID", "Grid is allowing forceful parcel banlists");
|
||||
m_LandManager.allowedForcefulBans = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user