diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-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 2493df1..36d39ea 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -122,7 +122,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
122 | } | 122 | } |
123 | 123 | ||
124 | private List<string> m_AllowedViewers = new List<string>(); | 124 | private List<string> m_AllowedViewers = new List<string>(); |
125 | private List<string> m_BanedViewers = new List<string>(); | 125 | private List<string> m_BannedViewers = new List<string>(); |
126 | 126 | ||
127 | // TODO: need to figure out how allow client agents but deny | 127 | // TODO: need to figure out how allow client agents but deny |
128 | // root agents when ACL denies access to root agent | 128 | // root agents when ACL denies access to root agent |
@@ -796,7 +796,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
796 | { | 796 | { |
797 | foreach (string viewer in grant.Split(',')) | 797 | foreach (string viewer in grant.Split(',')) |
798 | { | 798 | { |
799 | m_BanedViewers.Add(viewer.Trim().ToLower()); | 799 | m_BannedViewers.Add(viewer.Trim().ToLower()); |
800 | } | 800 | } |
801 | } | 801 | } |
802 | 802 | ||
@@ -3460,9 +3460,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3460 | } | 3460 | } |
3461 | 3461 | ||
3462 | //Check if the viewer is in the banned list | 3462 | //Check if the viewer is in the banned list |
3463 | if (m_BanedViewers.Count > 0) | 3463 | if (m_BannedViewers.Count > 0) |
3464 | { | 3464 | { |
3465 | foreach (string viewer in m_BanedViewers) | 3465 | foreach (string viewer in m_BannedViewers) |
3466 | { | 3466 | { |
3467 | if (viewer == agent.Viewer.Substring(0, viewer.Length).Trim().ToLower()) | 3467 | if (viewer == agent.Viewer.Substring(0, viewer.Length).Trim().ToLower()) |
3468 | { | 3468 | { |