Add an option to change ping timeout time.

Fix #979
This commit is contained in:
Alexey Sokolov
2016-12-26 15:49:26 +00:00
parent d9c1da8a68
commit b666931883
9 changed files with 67 additions and 26 deletions
+1 -1
View File
@@ -686,7 +686,7 @@ bool CIRCSock::OnNumericMessage(CNumericMessage& Message) {
m_pNetwork->SetIRCServer(sServer);
// Now that we are connected, let nature take its course
SetTimeout(CIRCNetwork::NO_TRAFFIC_TIMEOUT, TMO_READ);
SetTimeout(m_pNetwork->GetUser()->GetNoTrafficTimeout(), TMO_READ);
PutIRC("WHO " + sNick);
m_bAuthed = true;