diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 3d4c4bb..0cb353c 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -821,8 +821,16 @@ namespace OpenSim.Region.Environment.Scenes | |||
821 | Dictionary<string, string> dGridSettings = m_sceneGridService.GetGridSettings(); | 821 | Dictionary<string, string> dGridSettings = m_sceneGridService.GetGridSettings(); |
822 | if (dGridSettings.ContainsKey("allow_forceful_banlines")) | 822 | if (dGridSettings.ContainsKey("allow_forceful_banlines")) |
823 | { | 823 | { |
824 | if (dGridSettings["allow_forceful_banlines"] != "TRUE") | 824 | if (dGridSettings["allow_forceful_banlines"] != "TRUE") |
825 | MainLog.Instance.Verbose("GRID","Grid is disabling forceful parcel banlists"); | 825 | { |
826 | MainLog.Instance.Verbose("GRID", "Grid is disabling forceful parcel banlists"); | ||
827 | m_LandManager.allowedForcefulBans = false; | ||
828 | } | ||
829 | else | ||
830 | { | ||
831 | MainLog.Instance.Verbose("GRID", "Grid is allowing forceful parcel banlists"); | ||
832 | m_LandManager.allowedForcefulBans = true; | ||
833 | } | ||
826 | } | 834 | } |
827 | } | 835 | } |
828 | 836 | ||