mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
persists Estate.PublicAccess settings across reboots [re #552]
This commit is contained in:
@@ -622,6 +622,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
// If an access specification was provided, use it.
|
||||
// Otherwise accept the default.
|
||||
newscene.RegionInfo.EstateSettings.PublicAccess = getBoolean(requestData, "public", m_publicAccess);
|
||||
if (persist)
|
||||
newscene.RegionInfo.EstateSettings.Save();
|
||||
|
||||
// enable voice on newly created region if
|
||||
// requested by either the XmlRpc request or the
|
||||
@@ -780,6 +782,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
// Modify access
|
||||
scene.RegionInfo.EstateSettings.PublicAccess =
|
||||
getBoolean(requestData,"public", scene.RegionInfo.EstateSettings.PublicAccess);
|
||||
scene.RegionInfo.EstateSettings.Save();
|
||||
|
||||
if (requestData.ContainsKey("enable_voice"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user