aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index e5fbc69..1ee2468 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -370,7 +370,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
370 { 370 {
371 foreach (ScenePresence sp in s.GetScenePresences()) 371 foreach (ScenePresence sp in s.GetScenePresences())
372 { 372 {
373 if (!sp.IsChildAgent) 373 if (!sp.IsChildAgent && !sp.IsNPC)
374 agents++; 374 agents++;
375 } 375 }
376 } 376 }
@@ -379,7 +379,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
379 { 379 {
380 foreach (ScenePresence sp in rebootedScene.GetScenePresences()) 380 foreach (ScenePresence sp in rebootedScene.GetScenePresences())
381 { 381 {
382 if (!sp.IsChildAgent) 382 if (!sp.IsChildAgent && !sp.IsNPC)
383 agents++; 383 agents++;
384 } 384 }
385 } 385 }