mirror of
https://github.com/znc/znc.git
synced 2026-05-03 20:12:29 +02:00
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:
8
znc.cpp
8
znc.cpp
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user