* Tidy up 'show users' display

0.6.0-stable
Justin Clarke Casey 2008-03-29 22:57:09 +00:00
parent a90fbb308d
commit 7722a87b69
1 changed files with 12 additions and 11 deletions

View File

@ -1131,8 +1131,8 @@ namespace OpenSim
case "users": case "users":
m_console.Notice( m_console.Notice(
String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}", "Firstname", "Lastname", String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}{6,-15}", "Firstname", "Lastname",
"Agent ID", "Circuit", "IP", "Region")); "Agent ID", "Circuit", "IP", "Region", "Status"));
foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars()) foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars())
{ {
@ -1159,15 +1159,16 @@ namespace OpenSim
} }
m_console.Notice( m_console.Notice(
String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}", String.Format(
"{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}{6,-15}",
presence.Firstname, presence.Firstname,
presence.Lastname, presence.Lastname,
presence.UUID, presence.UUID,
presence.ControllingClient.CircuitCode, presence.ControllingClient.CircuitCode,
ep, ep,
regionName)); regionName,
m_console.Notice(" {0}", (((ClientView)presence.ControllingClient).PacketProcessingEnabled)?"Active client":"Standby client"); ((((ClientView)presence.ControllingClient).PacketProcessingEnabled)
?"Active client":"Standby client")));
} }
break; break;