mirror of
https://github.com/znc/znc.git
synced 2026-05-09 23:04:47 +02:00
Remove some unused code for ipv6 from CServer (and from CUser)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1294 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-3
@@ -8,12 +8,11 @@
|
||||
|
||||
#include "Server.h"
|
||||
|
||||
CServer::CServer(const CString& sName, unsigned short uPort, const CString& sPass, bool bSSL, bool bIPV6) {
|
||||
CServer::CServer(const CString& sName, unsigned short uPort, const CString& sPass, bool bSSL) {
|
||||
m_sName = sName;
|
||||
m_uPort = (uPort) ? uPort : 6667;
|
||||
m_sPass = sPass;
|
||||
m_bSSL = bSSL;
|
||||
m_bIPV6 = bIPV6;
|
||||
}
|
||||
|
||||
CServer::~CServer() {}
|
||||
@@ -38,7 +37,6 @@ const CString& CServer::GetName() const { return m_sName; }
|
||||
unsigned short CServer::GetPort() const { return m_uPort; }
|
||||
const CString& CServer::GetPass() const { return m_sPass; }
|
||||
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(m_uPort) + CString(m_sPass.empty() ? "" : " " + m_sPass);
|
||||
|
||||
Reference in New Issue
Block a user