connclass: cidr/parent/port/limit/globalmax + hashed/trusted-cert passwords, per-class recvq/sendq + fakelag, and rfc1413 ident
This commit is contained in:
parent
f5f888dbaa
commit
f371ed0a18
14 changed files with 842 additions and 126 deletions
|
|
@ -853,7 +853,8 @@ impl Command for Connect {
|
|||
}
|
||||
let addr = format!("{}:{}", b.ip, b.port);
|
||||
let (tx, counter) = (s.event_tx.clone(), s.conn_counter.clone());
|
||||
std::thread::spawn(move || crate::socketengine::connect_link(&addr, tx, counter));
|
||||
let max_line = s.conf_num("max_line", crate::socketengine::DEFAULT_MAX_LINE);
|
||||
std::thread::spawn(move || crate::socketengine::connect_link(&addr, tx, counter, max_line));
|
||||
let by = oper_nick(s, uid);
|
||||
s.snotice(&format!(
|
||||
"{by} used CONNECT to {} ({}:{})",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue