diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index bbb832c..189bd29 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -622,6 +622,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
622 | // If an access specification was provided, use it. | 622 | // If an access specification was provided, use it. |
623 | // Otherwise accept the default. | 623 | // Otherwise accept the default. |
624 | newscene.RegionInfo.EstateSettings.PublicAccess = getBoolean(requestData, "public", m_publicAccess); | 624 | newscene.RegionInfo.EstateSettings.PublicAccess = getBoolean(requestData, "public", m_publicAccess); |
625 | if (persist) | ||
626 | newscene.RegionInfo.EstateSettings.Save(); | ||
625 | 627 | ||
626 | // enable voice on newly created region if | 628 | // enable voice on newly created region if |
627 | // requested by either the XmlRpc request or the | 629 | // requested by either the XmlRpc request or the |
@@ -780,6 +782,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
780 | // Modify access | 782 | // Modify access |
781 | scene.RegionInfo.EstateSettings.PublicAccess = | 783 | scene.RegionInfo.EstateSettings.PublicAccess = |
782 | getBoolean(requestData,"public", scene.RegionInfo.EstateSettings.PublicAccess); | 784 | getBoolean(requestData,"public", scene.RegionInfo.EstateSettings.PublicAccess); |
785 | scene.RegionInfo.EstateSettings.Save(); | ||
783 | 786 | ||
784 | if (requestData.ContainsKey("enable_voice")) | 787 | if (requestData.ContainsKey("enable_voice")) |
785 | { | 788 | { |