diff options
| author | 2006-07-16 14:19:57 +0000 | |
|---|---|---|
| committer | 2006-07-16 14:19:57 +0000 | |
| commit | e2ea566015c82e5bfd9eb095a61fdfd7b2c18484 (patch) | |
| tree | 81647ce8fa0a485f97c16218ef3043bf45658a2a /src/userprocess.cpp | |
| parent | More stuff (diff) | |
DNS fixes - needs further testing
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4409 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
| -rw-r--r-- | src/userprocess.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 97480c83c..2f11528f3 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -360,6 +360,7 @@ void DoBackgroundUserStuff(time_t TIME) if (((unsigned)TIME > (unsigned)curr->timeout) && (curr->registered != 7)) { log(DEBUG,"InspIRCd: registration timeout: %s",curr->nick); + ZapThisDns(curr->fd); GlobalGoners.AddItem(curr,"Registration timeout"); continue; } @@ -372,6 +373,7 @@ void DoBackgroundUserStuff(time_t TIME) { curr->dns_done = true; ServerInstance->stats->statsDnsBad++; + ZapThisDns(curr->fd); FullConnectUser(curr,&GlobalGoners); continue; } @@ -379,6 +381,7 @@ void DoBackgroundUserStuff(time_t TIME) if ((curr->dns_done) && (curr->registered == 3) && (AllModulesReportReady(curr))) { log(DEBUG,"dns done, registered=3, and modules ready, OK"); + ZapThisDns(curr->fd); FullConnectUser(curr,&GlobalGoners); continue; } |
