Add details to network table in webadmin.

Fix #222
This commit is contained in:
Alexey Sokolov
2012-09-06 23:41:44 +07:00
parent 0ed928623e
commit c00cc72242
2 changed files with 12 additions and 0 deletions

View File

@@ -1034,6 +1034,12 @@ public:
CTemplate& l = Tmpl.AddRow("NetworkLoop");
l["Name"] = vNetworks[a]->GetName();
l["Username"] = pUser->GetUserName();
l["Clients"] = CString(vNetworks[a]->GetClients().size());
l["IRCNick"] = vNetworks[a]->GetIRCNick().GetNick();
CServer* pServer = vNetworks[a]->GetCurrentServer();
if (pServer) {
l["Server"] = pServer->GetName();
}
}
const MCString& msCTCPReplies = pUser->GetCTCPReplies();