From a1dce960d782559dd2967dbb8faefa4e2363fb66 Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 21 Apr 2011 22:45:46 +0200 Subject: Add fix a minor bug --- OpenSim/Region/Framework/Scenes/Scene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e29b51c..4d619c3 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -5195,7 +5195,7 @@ namespace OpenSim.Region.Framework.Scenes if (num >= RegionInfo.RegionSettings.AgentLimit) { - if (!Permissions.IsAdministrator(cAgentData.AgentID)) + if (!Permissions.IsAdministrator(agentID)) { reason = "The region is full"; return false; -- cgit v1.1