services: label as network service in whois
All checks were successful
CI / check (push) Successful in 3m44s

This commit is contained in:
Jean Chevronnet 2026-07-17 00:30:51 +00:00
parent 952078aa7e
commit b87a0c56a2
No known key found for this signature in database
5 changed files with 29 additions and 1 deletions

View file

@ -73,6 +73,9 @@ pub enum NetAction {
// Answer a remote IDLE request for one of our pseudo-clients so a routed
// WHOIS completes: `:<target> IDLE <requester> <signon> <idle>`.
IdleReply { target: String, requester: String, signon: u64, idle: u64 },
// Flag one of our pseudo-clients as a services operator so WHOIS labels it a
// network service (the oper line): `:<uid> OPERTYPE :<oper_type>`.
OperType { uid: String, oper_type: String },
IntroduceUser { uid: String, nick: String, ident: String, host: String, gecos: String },
Privmsg { from: String, to: String, text: String },
Notice { from: String, to: String, text: String },