Renamed CUserSock to CClient

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@581 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-10-15 03:55:09 +00:00
parent b156f4066d
commit a490f62dde
12 changed files with 123 additions and 123 deletions

View File

@@ -1,7 +1,7 @@
#include "znc.h"
#include "User.h"
#include "Server.h"
#include "UserSock.h"
#include "Client.h"
#include "IRCSock.h"
#include "Utils.h"
@@ -258,16 +258,16 @@ bool CZNC::Listen() {
return false;
}
CUserSock* pUserSock = new CUserSock;
CClient* pClient = new CClient;
bool bSSL = false;
#ifdef HAVE_LIBSSL
if (IsSSL()) {
bSSL = true;
pUserSock->SetPemLocation(GetPemLocation());
pClient->SetPemLocation(GetPemLocation());
}
#endif
return m_Manager.ListenAll(m_uListenPort, "_LISTENER", bSSL, SOMAXCONN, pUserSock);
return m_Manager.ListenAll(m_uListenPort, "_LISTENER", bSSL, SOMAXCONN, pClient);
}
bool CZNC::IsHostAllowed(const CString& sHostMask) {