aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-02 04:10:55 +0000
committerTeravus Ovares2008-01-02 04:10:55 +0000
commit3aa0f32ce3369bb3feb2fae70d044be10990b29b (patch)
treeb2cd9fb8b5d5955a8c17e9ee2d36d7f3ee72161e
parent* Re-wrote IM that sends the friend request so that it displays the name of t... (diff)
downloadopensim-SC_OLD-3aa0f32ce3369bb3feb2fae70d044be10990b29b.zip
opensim-SC_OLD-3aa0f32ce3369bb3feb2fae70d044be10990b29b.tar.gz
opensim-SC_OLD-3aa0f32ce3369bb3feb2fae70d044be10990b29b.tar.bz2
opensim-SC_OLD-3aa0f32ce3369bb3feb2fae70d044be10990b29b.tar.xz
* Fixed an issue where the RegionFlags and SimAccess settings were being saved incorrectly. If your region is already having an issue on boot with parsing [region_flags] or [sim_access], then this won't solve your issue. Default value for region_flags is 0 and default value for sim_access is 21 in the EstateSettings.XML file
-rw-r--r--OpenSim/Framework/EstateSettings.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs
index 8c9d7f4..6dd6e00 100644
--- a/OpenSim/Framework/EstateSettings.cs
+++ b/OpenSim/Framework/EstateSettings.cs
@@ -128,7 +128,7 @@ namespace OpenSim.Framework
128 set 128 set
129 { 129 {
130 m_regionFlags = value; 130 m_regionFlags = value;
131 configMember.forceSetConfigurationOption("region_flags", m_regionFlags.ToString()); 131 configMember.forceSetConfigurationOption("region_flags", ((uint)m_regionFlags).ToString());
132 } 132 }
133 } 133 }
134 134
@@ -141,7 +141,7 @@ namespace OpenSim.Framework
141 set 141 set
142 { 142 {
143 m_simAccess = value; 143 m_simAccess = value;
144 configMember.forceSetConfigurationOption("sim_access", m_simAccess.ToString()); 144 configMember.forceSetConfigurationOption("sim_access", ((byte)m_simAccess).ToString());
145 } 145 }
146 } 146 }
147 147