* Tidy up 'show users' display
parent
a90fbb308d
commit
7722a87b69
|
@ -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(
|
||||||
presence.Firstname,
|
"{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}{6,-15}",
|
||||||
presence.Lastname,
|
presence.Firstname,
|
||||||
presence.UUID,
|
presence.Lastname,
|
||||||
presence.ControllingClient.CircuitCode,
|
presence.UUID,
|
||||||
ep,
|
presence.ControllingClient.CircuitCode,
|
||||||
regionName));
|
ep,
|
||||||
m_console.Notice(" {0}", (((ClientView)presence.ControllingClient).PacketProcessingEnabled)?"Active client":"Standby client");
|
regionName,
|
||||||
|
((((ClientView)presence.ControllingClient).PacketProcessingEnabled)
|
||||||
|
?"Active client":"Standby client")));
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue