aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs8
-rw-r--r--bin/OpenSim.ini.example14
2 files changed, 11 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 25223b9..3e9583c 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -782,19 +782,19 @@ namespace OpenSim.Region.Framework.Scenes
782 } 782 }
783 } 783 }
784 784
785 string grant = startupConfig.GetString("AllowedViewerList", String.Empty); 785 string grant = startupConfig.GetString("AllowedClients", String.Empty);
786 if (grant.Length > 0) 786 if (grant.Length > 0)
787 { 787 {
788 foreach (string viewer in grant.Split(',')) 788 foreach (string viewer in grant.Split('|'))
789 { 789 {
790 m_AllowedViewers.Add(viewer.Trim().ToLower()); 790 m_AllowedViewers.Add(viewer.Trim().ToLower());
791 } 791 }
792 } 792 }
793 793
794 grant = startupConfig.GetString("BannedViewerList", String.Empty); 794 grant = startupConfig.GetString("BannedClients", String.Empty);
795 if (grant.Length > 0) 795 if (grant.Length > 0)
796 { 796 {
797 foreach (string viewer in grant.Split(',')) 797 foreach (string viewer in grant.Split('|'))
798 { 798 {
799 m_BannedViewers.Add(viewer.Trim().ToLower()); 799 m_BannedViewers.Add(viewer.Trim().ToLower());
800 } 800 }
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 33eaccb..9c68b65 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -280,18 +280,18 @@
280 ;; default is false 280 ;; default is false
281 ; TelehubAllowLandmark = false 281 ; TelehubAllowLandmark = false
282 282
283 ;# {AllowedViewerList} {} {Comma separated list of allowed viewers} {} 283 ;# {AllowedClients} {} {Bar (|) separated list of allowed clients} {}
284 ;; Comma separated list of viewers which may gain access to the regions. 284 ;; Bar (|) separated list of viewers which may gain access to the regions.
285 ;; One can use a Substring of the viewer name to enable only certain subversions 285 ;; One can use a substring of the viewer name to enable only certain versions
286 ;; Example: Agent uses the viewer "Imprudence 1.3.2.0" 286 ;; Example: Agent uses the viewer "Imprudence 1.3.2.0"
287 ;; - "Imprudence" has access 287 ;; - "Imprudence" has access
288 ;; - "Imprudence 1.3" has access 288 ;; - "Imprudence 1.3" has access
289 ;; - "Imprudence 1.3.1" has no access 289 ;; - "Imprudence 1.3.1" has no access
290 ;; AllowedViewerList = 290 ; AllowedViewerList =
291 291
292 ;# {BannedViewerList} {} {Comma separated list of banned viewers} {} 292 ;# {BannedClients} {} {Bar (|) separated list of banned clients} {}
293 ;# Comma separated list of viewers which may not gain access to the regions. 293 ;# Bar (|) separated list of viewers which may not gain access to the regions.
294 ;; One can use a Substring of the viewer name to disable only certain subversions 294 ;; One can use a Substring of the viewer name to disable only certain versions
295 ;; Example: Agent uses the viewer "Imprudence 1.3.2.0" 295 ;; Example: Agent uses the viewer "Imprudence 1.3.2.0"
296 ;; - "Imprudence" has no access 296 ;; - "Imprudence" has no access
297 ;; - "Imprudence 1.3" has no access 297 ;; - "Imprudence 1.3" has no access