No longer need ipv6 for outgoing connections

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@655 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2006-02-13 06:12:38 +00:00
parent c67c67abe7
commit 51021e706b
2 changed files with 3 additions and 9 deletions
+2 -7
View File
@@ -156,19 +156,14 @@ int CZNC::Loop() {
pIRCSock->SetPass(pServer->GetPass());
bool bSSL = false;
bool bIPV6 = false;
#ifdef HAVE_LIBSSL
if (pServer->IsSSL()) {
bSSL = true;
pIRCSock->SetPemLocation(GetPemLocation());
}
#endif
#ifdef HAVE_IPV6
if (pServer->IsIPV6()) {
bIPV6 = true;
}
#endif
if (!m_Manager.Connect(pServer->GetName(), pServer->GetPort(), sSockName, 20, bSSL, pUser->GetVHost(), pIRCSock, bIPV6)) {
if (!m_Manager.Connect(pServer->GetName(), pServer->GetPort(), sSockName, 20, bSSL, pUser->GetVHost(), pIRCSock)) {
ReleaseISpoof();
pUser->PutStatus("Unable to connect. (Bad host?)");
}