akick: match the server and fingerprint extbans from the SERVER name and ssl_cert metadata the s2s stream carries
This commit is contained in:
parent
f7c38cedad
commit
74a983467c
4 changed files with 98 additions and 21 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue