Hide passwords in listservers output

This commit is contained in:
arza
2016-09-23 18:13:07 +03:00
parent 51c532839a
commit 7c53d2106f

View File

@@ -841,7 +841,7 @@ void CClient::UserCommand(CString& sLine) {
(pServer == pCurServ ? "*" : ""));
Table.SetCell("Port", CString(pServer->GetPort()));
Table.SetCell("SSL", (pServer->IsSSL()) ? "SSL" : "");
Table.SetCell("Pass", pServer->GetPass());
Table.SetCell("Pass", (!pServer->GetPass().empty()) ? "set" : "");
}
PutStatus(Table);