mirror of
https://github.com/znc/znc.git
synced 2026-06-29 06:21:29 +02:00
Properly show if we are connecting to a ssl server
Idea by DarthGandalf, crappy commit message by me. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2078 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-2
@@ -34,6 +34,7 @@ unsigned short CServer::GetPort() const { return m_uPort; }
|
||||
const CString& CServer::GetPass() const { return m_sPass; }
|
||||
bool CServer::IsSSL() const { return m_bSSL; }
|
||||
|
||||
CString CServer::GetString() const {
|
||||
return m_sName + " " + CString(m_bSSL ? "+" : "") + CString(m_uPort) + CString(m_sPass.empty() ? "" : " " + m_sPass);
|
||||
CString CServer::GetString(bool bIncludePassword) const {
|
||||
return m_sName + " " + CString(m_bSSL ? "+" : "") + CString(m_uPort) +
|
||||
CString(bIncludePassword ? (m_sPass.empty() ? "" : " " + m_sPass) : "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user