aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-29 22:57:09 +0000
committerJustin Clarke Casey2008-03-29 22:57:09 +0000
commit7722a87b6907bc0fcae0ad60b28daca36680bfc8 (patch)
tree72b22b87bc43c2e49bd0d6aa3f3dd74d87b28ec5 /OpenSim/Region
parent* Minor log message fix per mantis 829 (diff)
downloadopensim-SC_OLD-7722a87b6907bc0fcae0ad60b28daca36680bfc8.zip
opensim-SC_OLD-7722a87b6907bc0fcae0ad60b28daca36680bfc8.tar.gz
opensim-SC_OLD-7722a87b6907bc0fcae0ad60b28daca36680bfc8.tar.bz2
opensim-SC_OLD-7722a87b6907bc0fcae0ad60b28daca36680bfc8.tar.xz
* Tidy up 'show users' display
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs23
1 files changed, 12 insertions, 11 deletions
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
1131 1131
1132 case "users": 1132 case "users":
1133 m_console.Notice( 1133 m_console.Notice(
1134 String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}", "Firstname", "Lastname", 1134 String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}{6,-15}", "Firstname", "Lastname",
1135 "Agent ID", "Circuit", "IP", "Region")); 1135 "Agent ID", "Circuit", "IP", "Region", "Status"));
1136 1136
1137 foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars()) 1137 foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars())
1138 { 1138 {
@@ -1159,15 +1159,16 @@ namespace OpenSim
1159 } 1159 }
1160 1160
1161 m_console.Notice( 1161 m_console.Notice(
1162 String.Format("{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}", 1162 String.Format(
1163 presence.Firstname, 1163 "{0,-16}{1,-16}{2,-37}{3,-16}{4,-22}{5,-16}{6,-15}",
1164 presence.Lastname, 1164 presence.Firstname,
1165 presence.UUID, 1165 presence.Lastname,
1166 presence.ControllingClient.CircuitCode, 1166 presence.UUID,
1167 ep, 1167 presence.ControllingClient.CircuitCode,
1168 regionName)); 1168 ep,
1169 m_console.Notice(" {0}", (((ClientView)presence.ControllingClient).PacketProcessingEnabled)?"Active client":"Standby client"); 1169 regionName,
1170 1170 ((((ClientView)presence.ControllingClient).PacketProcessingEnabled)
1171 ?"Active client":"Standby client")));
1171 } 1172 }
1172 1173
1173 break; 1174 break;