ListClients: add identifier column

This commit is contained in:
J-P Nurmi
2014-11-10 20:51:13 +01:00
parent 24a72d9a32
commit f4dc03b125

View File

@@ -188,6 +188,7 @@ void CClient::UserCommand(CString& sLine) {
CTable Table;
Table.AddColumn("Host");
Table.AddColumn("Network");
Table.AddColumn("Identifier");
for (unsigned int a = 0; a < vClients.size(); a++) {
Table.AddRow();
@@ -195,6 +196,7 @@ void CClient::UserCommand(CString& sLine) {
if (vClients[a]->GetNetwork()) {
Table.SetCell("Network", vClients[a]->GetNetwork()->GetName());
}
Table.SetCell("Identifier", vClients[a]->GetIdentifier());
}
PutStatus(Table);