diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 12:00:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 12:00:43 +0000 |
commit | 4615a491534bb0b4088e3aafd0a1b3b3b2fffcd7 (patch) | |
tree | 762f7a41a2f3fb54ff87929e26d2da58961c7975 /src/inspircd.cpp | |
parent | 814b10681eb33bfa2796ef4fd21a354b8d27b0dc (diff) |
Fixed bug on client registration timeout/ping timeout
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@451 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |