aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs14
1 files changed, 6 insertions, 8 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index c40b018..8e067eb 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -567,11 +567,9 @@ namespace OpenSim
567 case "users": 567 case "users":
568 m_log.Error(String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16}{5,-16}{6,-16}", "Firstname", "Lastname", "Agent ID", "Session ID", "Circuit", "IP", "World")); 568 m_log.Error(String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16}{5,-16}{6,-16}", "Firstname", "Lastname", "Agent ID", "Session ID", "Circuit", "IP", "World"));
569 569
570 List<ScenePresence> avatars = m_sceneManager.GetCurrentSceneAvatars(); 570 foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars())
571
572 foreach (ScenePresence avatar in avatars)
573 { 571 {
574 RegionInfo regionInfo = m_sceneManager.GetRegionInfo(avatar.RegionHandle); 572 RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle);
575 string regionName; 573 string regionName;
576 574
577 if (regionInfo == null) 575 if (regionInfo == null)
@@ -585,10 +583,10 @@ namespace OpenSim
585 583
586 m_log.Error( 584 m_log.Error(
587 String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}{6,-16}", 585 String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}{6,-16}",
588 avatar.Firstname, 586 presence.Firstname,
589 avatar.Lastname, 587 presence.Lastname,
590 avatar.UUID, 588 presence.UUID,
591 avatar._ControllingClient.AgentId, 589 presence.ControllingClient.AgentId,
592 "Unknown", 590 "Unknown",
593 "Unknown", 591 "Unknown",
594 regionName)); 592 regionName));