diff options
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 b185bc4b5..a401efeb1 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -339,6 +339,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; } @@ -350,6 +351,7 @@ void DoBackgroundUserStuff(time_t TIME) if ((TIME > curr->signon) && (curr->registered == 3) && (AllModulesReportReady(curr))) { curr->dns_done = true; + ZapThisDns(curr->fd); ServerInstance->stats->statsDnsBad++; FullConnectUser(curr,&GlobalGoners); continue; @@ -359,6 +361,7 @@ void DoBackgroundUserStuff(time_t TIME) { log(DEBUG,"dns done, registered=3, and modules ready, OK"); FullConnectUser(curr,&GlobalGoners); + ZapThisDns(curr->fd); continue; } |