diff options
author | Melanie | 2013-03-05 23:57:53 +0000 |
---|---|---|
committer | Melanie | 2013-03-05 23:57:53 +0000 |
commit | 81552f41c601017f43061d923eba393b9f85a7b3 (patch) | |
tree | 5d6c3aba0f72941c06b47eaae6f4cd0301b60b23 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | minor: Fix mono compiler warning in MonitorModule (diff) | |
download | opensim-SC_OLD-81552f41c601017f43061d923eba393b9f85a7b3.zip opensim-SC_OLD-81552f41c601017f43061d923eba393b9f85a7b3.tar.gz opensim-SC_OLD-81552f41c601017f43061d923eba393b9f85a7b3.tar.bz2 opensim-SC_OLD-81552f41c601017f43061d923eba393b9f85a7b3.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/ClientStack/Linden/Caps/MeshUploadFlagModule.cs
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index b03fee0..d459b56 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -956,7 +956,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
956 | } | 956 | } |
957 | } | 957 | } |
958 | 958 | ||
959 | string grant = startupConfig.GetString("AllowedClients", String.Empty); | 959 | string[] possibleAccessControlConfigSections = new string[] { "AccessControl", "Startup" }; |
960 | |||
961 | string grant | ||
962 | = Util.GetConfigVarFromSections<string>( | ||
963 | config, "AllowedClients", possibleAccessControlConfigSections, ""); | ||
964 | |||
960 | if (grant.Length > 0) | 965 | if (grant.Length > 0) |
961 | { | 966 | { |
962 | foreach (string viewer in grant.Split(',')) | 967 | foreach (string viewer in grant.Split(',')) |
@@ -965,7 +970,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
965 | } | 970 | } |
966 | } | 971 | } |
967 | 972 | ||
968 | grant = startupConfig.GetString("BannedClients", String.Empty); | 973 | grant |
974 | = Util.GetConfigVarFromSections<string>( | ||
975 | config, "BannedClients", possibleAccessControlConfigSections, ""); | ||
976 | |||
969 | if (grant.Length > 0) | 977 | if (grant.Length > 0) |
970 | { | 978 | { |
971 | foreach (string viewer in grant.Split(',')) | 979 | foreach (string viewer in grant.Split(',')) |