aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-06-03 21:08:02 +1000
committeronefang2019-06-03 21:08:02 +1000
commit0ea33d58fc0b0f27d80e58ee926eb51018cd472c (patch)
treec672a2fc957e17b0205a2fb4ac27872d593e4b55
parentBetter build script. (diff)
downloadopensim-SC_OLD-0ea33d58fc0b0f27d80e58ee926eb51018cd472c.zip
opensim-SC_OLD-0ea33d58fc0b0f27d80e58ee926eb51018cd472c.tar.gz
opensim-SC_OLD-0ea33d58fc0b0f27d80e58ee926eb51018cd472c.tar.bz2
opensim-SC_OLD-0ea33d58fc0b0f27d80e58ee926eb51018cd472c.tar.xz
Add DefaultRegionAccess in [AuthorizationService] section.
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/AuthorizationService.cs3
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