From 4615a491534bb0b4088e3aafd0a1b3b3b2fffcd7 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Apr 2004 12:00:43 +0000 Subject: Fixed bug on client registration timeout/ping timeout git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@451 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 63ef005df..1f3a24332 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -5493,7 +5493,7 @@ int InspIRCd(void) { log(DEBUG,"InspIRCd: registration timeout: %s",count2->second->nick); kill_link(count2->second,"Registration timeout"); - break; + goto label; } if (((time(NULL)) > count2->second->nping) && (isnick(count2->second->nick)) && (count2->second->registered == 7)) { @@ -5501,7 +5501,7 @@ int InspIRCd(void) { log(DEBUG,"InspIRCd: ping timeout: %s",count2->second->nick); kill_link(count2->second,"Ping timeout"); - break; + goto label; } Write(count2->second->fd,"PING :%s",ServerName); log(DEBUG,"InspIRCd: pinging: %s",count2->second->nick); -- cgit v1.2.3