From 7722a87b6907bc0fcae0ad60b28daca36680bfc8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 29 Mar 2008 22:57:09 +0000 Subject: * Tidy up 'show users' display --- OpenSim/Region/Application/OpenSimMain.cs | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/Application/OpenSimMain.cs') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index e77aa6b..ca7b7c5 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -1131,8 +1131,8 @@ namespace OpenSim case "users": m_console.Notice( - String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}", "Firstname", "Lastname", - "Agent ID", "Circuit", "IP", "Region")); + String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}{6,-15}", "Firstname", "Lastname", + "Agent ID", "Circuit", "IP", "Region", "Status")); foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars()) { @@ -1159,15 +1159,16 @@ namespace OpenSim } m_console.Notice( - String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}", - presence.Firstname, - presence.Lastname, - presence.UUID, - presence.ControllingClient.CircuitCode, - ep, - regionName)); - m_console.Notice(" {0}", (((ClientView)presence.ControllingClient).PacketProcessingEnabled)?"Active client":"Standby client"); - + String.Format( + "{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}{6,-15}", + presence.Firstname, + presence.Lastname, + presence.UUID, + presence.ControllingClient.CircuitCode, + ep, + regionName, + ((((ClientView)presence.ControllingClient).PacketProcessingEnabled) + ?"Active client":"Standby client"))); } break; -- cgit v1.1