diff options
author | Justin Clark-Casey (justincc) | 2014-07-21 23:53:33 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-07-21 23:53:33 +0100 |
commit | 3c6becd52495360b24b3760a30fb0e007f5a16a3 (patch) | |
tree | 51362e21c3ea699e948e19ee3ce4a37058d1c337 /OpenSim/Region/Framework | |
parent | minor: Limit processor related stats to 3 decimal places instead of all the p... (diff) | |
download | opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.zip opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.tar.gz opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.tar.bz2 opensim-SC_OLD-3c6becd52495360b24b3760a30fb0e007f5a16a3.tar.xz |
On login and first HG entrance to a foreign grid, perform query access checks before proceeding.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 27929c6..4bbe68b 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -5514,6 +5514,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
5514 | 5514 | ||
5515 | int num = m_sceneGraph.GetRootAgentCount(); | 5515 | int num = m_sceneGraph.GetRootAgentCount(); |
5516 | 5516 | ||
5517 | Console.WriteLine("{0} {1}", num, RegionInfo.RegionSettings.AgentLimit); | ||
5517 | if (num >= RegionInfo.RegionSettings.AgentLimit) | 5518 | if (num >= RegionInfo.RegionSettings.AgentLimit) |
5518 | { | 5519 | { |
5519 | if (!Permissions.IsAdministrator(agentID)) | 5520 | if (!Permissions.IsAdministrator(agentID)) |