Initial revision

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2004-08-24 00:08:51 +00:00
parent 71a0088bea
commit 538d3ece4e
41 changed files with 10362 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#include "main.h"
#include "Server.h"
CServer::CServer(const string& sName, unsigned short uPort, const string& sPass, bool bSSL) {
m_sName = sName;
m_uPort = (uPort) ? uPort : 6667;
m_sPass = sPass;
m_bSSL = bSSL;
}
CServer::~CServer() {}
const string& CServer::GetName() const { return m_sName; }
unsigned short CServer::GetPort() const { return m_uPort; }
const string& CServer::GetPass() const { return m_sPass; }
bool CServer::IsSSL() const { return m_bSSL; }