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 | |
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')
-rw-r--r-- | src/InspIRCd.layout | 6 | ||||
-rw-r--r-- | src/inspircd.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index 75db52f51..270bb296a 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -13,9 +13,9 @@ LeftChar=1 [Editor_1] Open=1 Top=1 -CursorCol=1 -CursorRow=5523 -TopLine=5458 +CursorCol=26 +CursorRow=5558 +TopLine=5522 LeftChar=1 [Editor_2] 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); |