diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 4 insertions, 4 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 | } |