reverse-dns clients on connect with pre-registration notices (checking ident / looking up your hostname)
This commit is contained in:
parent
58596aea66
commit
4fc26d13e9
8 changed files with 392 additions and 24 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue