Increase the connect timeout to 2 mins

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@936 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-01-20 16:55:17 +00:00
parent 9f19e82cf5
commit 05df4919f6
+1 -1
View File
@@ -122,7 +122,7 @@ bool CZNC::ConnectUser(CUser *pUser) {
}
#endif
if (!m_Manager.Connect(pServer->GetName(), pServer->GetPort(), sSockName, 20, bSSL, pUser->GetVHost(), pIRCSock)) {
if (!m_Manager.Connect(pServer->GetName(), pServer->GetPort(), sSockName, 120, bSSL, pUser->GetVHost(), pIRCSock)) {
ReleaseISpoof();
pUser->PutStatus("Unable to connect. (Bad host?)");
}