From dd67ab6025057c295939fa4d3ec0c3008d5d869b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 14 Jul 2018 16:42:10 +0100 Subject: change the scope of those options variables --- .../CoreModules/World/Estate/EstateManagementModule.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/CoreModules/World/Estate') diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index 95fc741..2e801e3 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs @@ -64,8 +64,8 @@ namespace OpenSim.Region.CoreModules.World.Estate /// If false, region restart requests from the client are blocked even if they are otherwise legitimate. /// public bool AllowRegionRestartFromClient { get; set; } - public bool IgnoreEstateMinorAccessControl { get; set; } - public bool IgnoreEstatePaymentAccessControl { get; set; } + private bool m_ignoreEstateMinorAccessControl; + private bool m_ignoreEstatePaymentAccessControl; private EstateTerrainXferHandler TerrainUploader; public TelehubManager m_Telehub; @@ -93,8 +93,8 @@ namespace OpenSim.Region.CoreModules.World.Estate if (config != null) { AllowRegionRestartFromClient = config.GetBoolean("AllowRegionRestartFromClient", true); - IgnoreEstateMinorAccessControl = config.GetBoolean("IgnoreEstateMinorAccessControl", false); - IgnoreEstatePaymentAccessControl = config.GetBoolean("IgnoreEstatePaymentAccessControl", false); + m_ignoreEstateMinorAccessControl = config.GetBoolean("IgnoreEstateMinorAccessControl", false); + m_ignoreEstatePaymentAccessControl = config.GetBoolean("IgnoreEstatePaymentAccessControl", false); } } @@ -125,8 +125,8 @@ namespace OpenSim.Region.CoreModules.World.Estate UserManager = scene.RequestModuleInterface(); - scene.RegionInfo.EstateSettings.DoDenyMinors = !IgnoreEstateMinorAccessControl; - scene.RegionInfo.EstateSettings.DoDenyAnonymous = !IgnoreEstateMinorAccessControl; + scene.RegionInfo.EstateSettings.DoDenyMinors = !m_ignoreEstateMinorAccessControl; + scene.RegionInfo.EstateSettings.DoDenyAnonymous = !m_ignoreEstateMinorAccessControl; } public void Close() -- cgit v1.1