mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
ListClients: add identifier column
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user