diff options
author | Justin Clark-Casey (justincc) | 2012-07-03 23:26:02 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-03 23:26:02 +0100 |
commit | f7b48025777a653589b7860e94aaa3230497ffa3 (patch) | |
tree | 31561c94c44be708bf3508f617843561fce83c93 /OpenSim/Region/Framework/Scenes | |
parent | minor: Add some method doc to HasGroupChanged and Schedule GroupForFull/PartU... (diff) | |
download | opensim-SC-f7b48025777a653589b7860e94aaa3230497ffa3.zip opensim-SC-f7b48025777a653589b7860e94aaa3230497ffa3.tar.gz opensim-SC-f7b48025777a653589b7860e94aaa3230497ffa3.tar.bz2 opensim-SC-f7b48025777a653589b7860e94aaa3230497ffa3.tar.xz |
Correct spelling mistake m_BanedViewers to m_BannedViewers
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 | { |