diff options
author | UbitUmarov | 2018-07-14 16:42:10 +0100 |
---|---|---|
committer | UbitUmarov | 2018-07-14 16:42:10 +0100 |
commit | dd67ab6025057c295939fa4d3ec0c3008d5d869b (patch) | |
tree | 4ee22f02565228234d14d743a3f7dae8caccdaea | |
parent | add options for regions to ignore age < 18 and payment access control where t... (diff) | |
download | opensim-SC-dd67ab6025057c295939fa4d3ec0c3008d5d869b.zip opensim-SC-dd67ab6025057c295939fa4d3ec0c3008d5d869b.tar.gz opensim-SC-dd67ab6025057c295939fa4d3ec0c3008d5d869b.tar.bz2 opensim-SC-dd67ab6025057c295939fa4d3ec0c3008d5d869b.tar.xz |
change the scope of those options variables
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 12 |
1 files changed, 6 insertions, 6 deletions
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 | |||
64 | /// If false, region restart requests from the client are blocked even if they are otherwise legitimate. | 64 | /// If false, region restart requests from the client are blocked even if they are otherwise legitimate. |
65 | /// </summary> | 65 | /// </summary> |
66 | public bool AllowRegionRestartFromClient { get; set; } | 66 | public bool AllowRegionRestartFromClient { get; set; } |
67 | public bool IgnoreEstateMinorAccessControl { get; set; } | 67 | private bool m_ignoreEstateMinorAccessControl; |
68 | public bool IgnoreEstatePaymentAccessControl { get; set; } | 68 | private bool m_ignoreEstatePaymentAccessControl; |
69 | 69 | ||
70 | private EstateTerrainXferHandler TerrainUploader; | 70 | private EstateTerrainXferHandler TerrainUploader; |
71 | public TelehubManager m_Telehub; | 71 | public TelehubManager m_Telehub; |
@@ -93,8 +93,8 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
93 | if (config != null) | 93 | if (config != null) |
94 | { | 94 | { |
95 | AllowRegionRestartFromClient = config.GetBoolean("AllowRegionRestartFromClient", true); | 95 | AllowRegionRestartFromClient = config.GetBoolean("AllowRegionRestartFromClient", true); |
96 | IgnoreEstateMinorAccessControl = config.GetBoolean("IgnoreEstateMinorAccessControl", false); | 96 | m_ignoreEstateMinorAccessControl = config.GetBoolean("IgnoreEstateMinorAccessControl", false); |
97 | IgnoreEstatePaymentAccessControl = config.GetBoolean("IgnoreEstatePaymentAccessControl", false); | 97 | m_ignoreEstatePaymentAccessControl = config.GetBoolean("IgnoreEstatePaymentAccessControl", false); |
98 | } | 98 | } |
99 | } | 99 | } |
100 | 100 | ||
@@ -125,8 +125,8 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
125 | 125 | ||
126 | UserManager = scene.RequestModuleInterface<IUserManagement>(); | 126 | UserManager = scene.RequestModuleInterface<IUserManagement>(); |
127 | 127 | ||
128 | scene.RegionInfo.EstateSettings.DoDenyMinors = !IgnoreEstateMinorAccessControl; | 128 | scene.RegionInfo.EstateSettings.DoDenyMinors = !m_ignoreEstateMinorAccessControl; |
129 | scene.RegionInfo.EstateSettings.DoDenyAnonymous = !IgnoreEstateMinorAccessControl; | 129 | scene.RegionInfo.EstateSettings.DoDenyAnonymous = !m_ignoreEstateMinorAccessControl; |
130 | } | 130 | } |
131 | 131 | ||
132 | public void Close() | 132 | public void Close() |