s2s: handle echo's metadata profile keys, standard replies, OPERTYPE and REDACT; emit ssl_cert + OPERTYPE

This commit is contained in:
Jean Chevronnet 2026-08-17 13:08:14 +00:00
parent 8f765bfba7
commit 5722640957
4 changed files with 157 additions and 12 deletions

View file

@ -411,6 +411,13 @@ impl Server {
for chan in chans {
self.join(uid, &chan, None);
}
// tell services / linked servers this user is now an operator, so services
// (OperServ etc.) can track and act on network operators.
if !self.links.is_empty() {
if let Some(uuid) = self.users.get(&uid).map(|u| u.uuid.clone()) {
self.propagate(&format!(":{uuid} OPERTYPE :IRC_Operator"), None);
}
}
}
/// Send a WALLOPS to every oper and every +w user.