conn_waitpong: optionally require a PONG cookie before registration (anti-bot)

This commit is contained in:
Jean Chevronnet 2026-08-09 23:04:14 +00:00
parent e0d849b4c9
commit 61954f6c5c
7 changed files with 70 additions and 2 deletions

View file

@ -384,6 +384,7 @@ impl Ircd {
&& !u.ident.is_empty()
&& !u.cap
&& !u.dns_pending
&& u.waitpong.is_none()
})
.unwrap_or(false);
if ready {