securitygroups: UnrealIRCd-style groups + g: extban + SECURITYGROUPS + WHOIS

This commit is contained in:
Jean Chevronnet 2026-08-09 08:08:06 +00:00
parent 97a35338fa
commit 64dcbd8bf4
9 changed files with 249 additions and 6 deletions

View file

@ -106,6 +106,7 @@ impl Command for WebIrc {
};
let newip = ip.parse::<IpAddr>().ok();
if let Some(u) = s.users.get_mut(&uid) {
u.flags.via_webirc = true; // securitygroups: webirc criterion
u.host = host.clone();
if let Some(a) = newip {
u.addr = SocketAddr::new(a, u.addr.port());