From abf423e361fa907f668b6ff7801d706629ce6e81 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 12 Jul 2016 23:23:47 +0100 Subject: be nicer to PIs (actually linux) --- OpenSim/Region/Framework/Scenes/Scene.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index cf5705c..fac5547 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -5409,6 +5409,11 @@ Label_GroupsDone: m_clientManager.ForEachSync(action); } + public int GetNumberOfClients() + { + return m_clientManager.Count; + } + public bool TryGetClient(UUID avatarID, out IClientAPI client) { return m_clientManager.TryGetValue(avatarID, out client); -- cgit v1.1