mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Correct spelling mistake m_BanedViewers to m_BannedViewers
This commit is contained in:
@@ -122,7 +122,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
private List<string> m_AllowedViewers = new List<string>();
|
||||
private List<string> m_BanedViewers = new List<string>();
|
||||
private List<string> m_BannedViewers = new List<string>();
|
||||
|
||||
// TODO: need to figure out how allow client agents but deny
|
||||
// root agents when ACL denies access to root agent
|
||||
@@ -796,7 +796,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
foreach (string viewer in grant.Split(','))
|
||||
{
|
||||
m_BanedViewers.Add(viewer.Trim().ToLower());
|
||||
m_BannedViewers.Add(viewer.Trim().ToLower());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3460,9 +3460,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
//Check if the viewer is in the banned list
|
||||
if (m_BanedViewers.Count > 0)
|
||||
if (m_BannedViewers.Count > 0)
|
||||
{
|
||||
foreach (string viewer in m_BanedViewers)
|
||||
foreach (string viewer in m_BannedViewers)
|
||||
{
|
||||
if (viewer == agent.Viewer.Substring(0, viewer.Length).Trim().ToLower())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user