diff options
author | onefang | 2020-09-11 00:31:26 +1000 |
---|---|---|
committer | onefang | 2020-09-11 00:31:26 +1000 |
commit | 2600a50cf447b4f3a86e860b40f950b98be6450e (patch) | |
tree | d4561fcb8d0aec34253142c71943ad937b182d24 | |
parent | Various map generation tweaks. (diff) | |
download | opensim-SC-2600a50cf447b4f3a86e860b40f950b98be6450e.zip opensim-SC-2600a50cf447b4f3a86e860b40f950b98be6450e.tar.gz opensim-SC-2600a50cf447b4f3a86e860b40f950b98be6450e.tar.bz2 opensim-SC-2600a50cf447b4f3a86e860b40f950b98be6450e.tar.xz |
Add DefaultRegionAccess in [AuthorizationService] section.
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/AuthorizationService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/AuthorizationService.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/AuthorizationService.cs index 93dff1f..2e06bc8 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/AuthorizationService.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/AuthorizationService.cs | |||
@@ -69,7 +69,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authorization | |||
69 | 69 | ||
70 | if (config != null) | 70 | if (config != null) |
71 | { | 71 | { |
72 | string accessStr = config.GetString("Region_" + scene.RegionInfo.RegionName.Replace(' ', '_'), String.Empty); | 72 | string defaultAccess = config.GetString("DefaultRegionAccess", "None"); |
73 | string accessStr = config.GetString("Region_" + scene.RegionInfo.RegionName.Replace(' ', '_'), defaultAccess); | ||
73 | if (accessStr != string.Empty) | 74 | if (accessStr != string.Empty) |
74 | { | 75 | { |
75 | try | 76 | try |