Changed ping timers and timeout settings to use more reasonable values. Also changed timeout type for irc and client sockets.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1297 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
silverleo
2008-12-21 09:03:04 +00:00
parent de3fb7f3dc
commit 110485eaaf
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void CIRCSock::ReadLine(const CString& sData) {
switch (uRaw) {
case 1: {// :irc.server.com 001 nick :Welcome to the Internet Relay Network nick
m_pUser->SetIRCServer(sServer);
SetTimeout(900); // Now that we are connected, let nature take its course
SetTimeout(240, TMO_READ); // Now that we are connected, let nature take its course
PutIRC("WHO " + sNick);
m_bAuthed = true;