From 7c53d2106f6d6dd02e956d463ce7db9c6943a615 Mon Sep 17 00:00:00 2001 From: arza Date: Fri, 23 Sep 2016 18:13:07 +0300 Subject: [PATCH] Hide passwords in listservers output --- src/ClientCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index f1e7b0e9..e86b6051 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -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);