mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
On login and first HG entrance to a foreign grid, perform query access checks before proceeding.
This commit is contained in:
@@ -5514,6 +5514,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
int num = m_sceneGraph.GetRootAgentCount();
|
||||
|
||||
Console.WriteLine("{0} {1}", num, RegionInfo.RegionSettings.AgentLimit);
|
||||
if (num >= RegionInfo.RegionSettings.AgentLimit)
|
||||
{
|
||||
if (!Permissions.IsAdministrator(agentID))
|
||||
|
||||
Reference in New Issue
Block a user