aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authormingchen2007-12-20 16:50:16 +0000
committermingchen2007-12-20 16:50:16 +0000
commit0e6915ae48e175d3548fbdbb8a42366db1645cc6 (patch)
tree317162019114aeb18fb7d30c63d9c333407dffac /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Cleaned up some code from an earlier commit (diff)
downloadopensim-SC_OLD-0e6915ae48e175d3548fbdbb8a42366db1645cc6.zip
opensim-SC_OLD-0e6915ae48e175d3548fbdbb8a42366db1645cc6.tar.gz
opensim-SC_OLD-0e6915ae48e175d3548fbdbb8a42366db1645cc6.tar.bz2
opensim-SC_OLD-0e6915ae48e175d3548fbdbb8a42366db1645cc6.tar.xz
*Ban lines now work if they are enabled grid wide.
*Restricted lines just give you a friendly warning for now
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs12
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