]> arthur.barton.de Git - ngircd-alex.git/commit
Don't set a penalty time when doing DNS lookups
authorAlexander Barton <alex@barton.de>
Fri, 21 May 2010 21:47:28 +0000 (23:47 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 29 Jun 2010 20:55:27 +0000 (22:55 +0200)
commitd4632a727fbee65cb1585c6f6e9968d830f23a19
treed92b597225a3f6be1a24cb9398a3564dc4ba11cd
parent60f5dd5b29e701b3ab601addd3cdefb508acc7d1
Don't set a penalty time when doing DNS lookups

The logic isn't as described in the source and intended by this code:
ngIRCd doesn't wait for the asynchronous resolver process until the set
penalty time is over, but until the forked process terminates or the
initial connection timeout (= PongTimeout) triggers.

So don't set the penalty time at all and remove the wrong comment.
src/ngircd/conn.c