helpserv: HELP EXTBANS lists the network live extban set with a friendly example for each

This commit is contained in:
Jean Chevronnet 2026-07-17 22:23:54 +00:00
parent 7f5b37efd6
commit 8c77016aed
No known key found for this signature in database
6 changed files with 112 additions and 9 deletions

View file

@ -1577,6 +1577,11 @@ pub trait Store {
fn extban_lookup(&self, _token: &str) -> Option<ExtbanCap> {
None
}
// The ircd's live extban set (its CAPAB EXTBANS burst), for HELP to list what
// this network actually offers. Empty until we link.
fn extbans(&self) -> Vec<ExtbanCap> {
Vec::new()
}
fn exists(&self, name: &str) -> bool;
fn account(&self, name: &str) -> Option<AccountView>;
// Canonical account name for a nick (following a grouping), if registered.