ircd: listener: Document check_reject() behaviour

This commit is contained in:
Simon Arlott 2017-07-29 21:31:17 +01:00
parent 23e722ea21
commit 8467fd9caf
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -592,8 +592,11 @@ accept_precallback(rb_fde_t *F, struct sockaddr *addr, rb_socklen_t addrlen, voi
return 0; return 0;
} }
if(check_reject(F, addr)) if(check_reject(F, addr)) {
/* Reject the connection without closing the socket
* because it is now on the delay_exit list. */
return 0; return 0;
}
if(throttle_add(addr)) if(throttle_add(addr))
{ {