Added a timeout for when the server list is exausted

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@371 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-27 00:18:58 +00:00
parent 98eadd73a8
commit 0983b52ba1
+4
View File
@@ -83,6 +83,10 @@ int CZNC::Loop() {
CIRCSock* pIRCSock = (CIRCSock*) m_Manager.FindSockByName(sSockName);
if (!pIRCSock) {
if (pUser->ConnectPaused() && pUser->IsLastServer()) {
continue;
}
CServer* pServer = pUser->GetNextServer();
if (!pServer) {