aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/MySQLEstateData.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLEstateData.cs b/OpenSim/Data/MySQL/MySQLEstateData.cs
index 17cd6a1..c0395a9 100644
--- a/OpenSim/Data/MySQL/MySQLEstateData.cs
+++ b/OpenSim/Data/MySQL/MySQLEstateData.cs
@@ -158,6 +158,7 @@ namespace OpenSim.Data.MySQL
158 public EstateSettings LoadEstateSettings(LLUUID regionID) 158 public EstateSettings LoadEstateSettings(LLUUID regionID)
159 { 159 {
160 EstateSettings es = new EstateSettings(); 160 EstateSettings es = new EstateSettings();
161 es.OnSave += StoreEstateSettings;
161 162
162 string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_map left join estate_settings on estate_map.EstateID = estate_settings.EstateID where estate_settings.EstateID is not null and RegionID = ?RegionID"; 163 string sql = "select estate_settings."+String.Join(",estate_settings.", FieldList)+" from estate_map left join estate_settings on estate_map.EstateID = estate_settings.EstateID where estate_settings.EstateID is not null and RegionID = ?RegionID";
163 164
@@ -258,6 +259,8 @@ namespace OpenSim.Data.MySQL
258 catch (Exception) 259 catch (Exception)
259 { 260 {
260 } 261 }
262
263 es.Save();
261 } 264 }
262 265
263 LoadBanList(es); 266 LoadBanList(es);