diff options
Diffstat (limited to 'src/OpenSimConsole.cs')
-rw-r--r-- | src/OpenSimConsole.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/OpenSimConsole.cs b/src/OpenSimConsole.cs index 7d8563f..80f36af 100644 --- a/src/OpenSimConsole.cs +++ b/src/OpenSimConsole.cs | |||
@@ -169,8 +169,11 @@ namespace OpenSim | |||
169 | OpenSim.world.Avatar TempAv; | 169 | OpenSim.world.Avatar TempAv; |
170 | this.WriteLine(String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}","Firstname", "Lastname","Agent ID", "Session ID", "Circuit", "IP")); | 170 | this.WriteLine(String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}","Firstname", "Lastname","Agent ID", "Session ID", "Circuit", "IP")); |
171 | foreach (libsecondlife.LLUUID UUID in OpenSim_Main.local_world.Entities.Keys) { | 171 | foreach (libsecondlife.LLUUID UUID in OpenSim_Main.local_world.Entities.Keys) { |
172 | TempAv=(OpenSim.world.Avatar)OpenSim_Main.local_world.Entities[UUID]; | 172 | if(OpenSim_Main.local_world.Entities[UUID].ToString()== "OpenSim.world.Avatar") |
173 | this.WriteLine(String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}",TempAv.firstname, TempAv.lastname,UUID, TempAv.ControllingClient.SessionID, TempAv.ControllingClient.CircuitCode, TempAv.ControllingClient.userEP.ToString())); | 173 | { |
174 | TempAv=(OpenSim.world.Avatar)OpenSim_Main.local_world.Entities[UUID]; | ||
175 | this.WriteLine(String.Format("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}",TempAv.firstname, TempAv.lastname,UUID, TempAv.ControllingClient.SessionID, TempAv.ControllingClient.CircuitCode, TempAv.ControllingClient.userEP.ToString())); | ||
176 | } | ||
174 | } | 177 | } |
175 | break; | 178 | break; |
176 | } | 179 | } |