aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController
diff options
context:
space:
mode:
authorDr Scofield2009-06-10 11:29:09 +0000
committerDr Scofield2009-06-10 11:29:09 +0000
commit6eb808f6654888da74804c758eea24d62106cfd9 (patch)
tree87c54f0a3e2146f50ef6e313b2134116663d09de /OpenSim/ApplicationPlugins/RemoteController
parentmakes voice setting persistent [re #552] (diff)
downloadopensim-SC-6eb808f6654888da74804c758eea24d62106cfd9.zip
opensim-SC-6eb808f6654888da74804c758eea24d62106cfd9.tar.gz
opensim-SC-6eb808f6654888da74804c758eea24d62106cfd9.tar.bz2
opensim-SC-6eb808f6654888da74804c758eea24d62106cfd9.tar.xz
persists Estate.PublicAccess settings across reboots [re #552]
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs3
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 {