ircd: listener: Document check_reject() behaviour
This commit is contained in:
parent
23e722ea21
commit
8467fd9caf
1 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue