mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Patch to fix saving of estate managers list loaded during migration.
No longer teleports an agent home unless their root agent is being banned. Visual blocking is still in effect.
This commit is contained in:
@@ -158,6 +158,7 @@ namespace OpenSim.Data.MySQL
|
||||
public EstateSettings LoadEstateSettings(LLUUID regionID)
|
||||
{
|
||||
EstateSettings es = new EstateSettings();
|
||||
es.OnSave += StoreEstateSettings;
|
||||
|
||||
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";
|
||||
|
||||
@@ -258,6 +259,8 @@ namespace OpenSim.Data.MySQL
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
|
||||
es.Save();
|
||||
}
|
||||
|
||||
LoadBanList(es);
|
||||
|
||||
Reference in New Issue
Block a user