akick: match the server and fingerprint extbans from the SERVER name and ssl_cert metadata the s2s stream carries

This commit is contained in:
Jean Chevronnet 2026-07-17 21:23:25 +00:00
parent f7c38cedad
commit 74a983467c
No known key found for this signature in database
4 changed files with 98 additions and 21 deletions

View file

@ -1090,6 +1090,14 @@ impl Engine {
self.network.set_user_attrs(&uid, ident, realhost, gecos);
Vec::new()
}
NetEvent::UserCert { uid, fp } => {
self.network.set_user_cert(&uid, fp);
Vec::new()
}
NetEvent::ServerInfo { sid, name } => {
self.network.set_server_name(&sid, name);
Vec::new()
}
NetEvent::UserConnect { uid, nick, host, ip } => {
let arriving_nick = nick.clone();
self.network.user_connect(uid.clone(), nick, host, ip.clone());