reverse-dns clients on connect with pre-registration notices (checking ident / looking up your hostname)

This commit is contained in:
Jean Chevronnet 2026-08-07 18:39:03 +00:00
parent 58596aea66
commit 4fc26d13e9
8 changed files with 392 additions and 24 deletions

View file

@ -46,7 +46,8 @@ fn main() {
let (tx, rx) = mpsc::channel();
let core_cfg = cfg.clone();
let core = thread::spawn(move || Ircd::new(core_cfg).run(rx));
let core_tx = tx.clone(); // the core self-injects events (DNS results)
let core = thread::spawn(move || Ircd::new(core_cfg, core_tx).run(rx));
// background timer: drives ping/idle timeouts
let tick_tx = tx.clone();