mirror of
https://github.com/znc/znc.git
synced 2026-05-08 14:24:45 +02:00
Migrated away from CString::ToString() in favor of explicit constructors
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@669 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -34,5 +34,5 @@ bool CServer::IsSSL() const { return m_bSSL; }
|
||||
bool CServer::IsIPV6() const { return m_bIPV6; }
|
||||
|
||||
CString CServer::GetString() const {
|
||||
return m_sName + " " + CString(m_bSSL ? "+" : "") + CString::ToString(m_uPort) + CString(m_sPass.empty() ? CString("") : " " + m_sPass);
|
||||
return m_sName + " " + CString(m_bSSL ? "+" : "") + CString(m_uPort) + CString(m_sPass.empty() ? CString("") : " " + m_sPass);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user