mirror of
https://github.com/znc/znc.git
synced 2026-06-24 12:01:56 +02:00
Initial revision
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+17
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user