protocol: verify echo ircd module dependencies from CAPAB MODULES at link, warning per-feature if one is missing rather than failing silently
All checks were successful
CI / check (push) Successful in 3m49s
All checks were successful
CI / check (push) Successful in 3m49s
This commit is contained in:
parent
0ca06247f8
commit
2f70b0c133
4 changed files with 97 additions and 0 deletions
|
|
@ -72,6 +72,11 @@ pub enum NetEvent {
|
|||
// The ircd's `CASEMAPPING` from its `CAPAB CAPABILITIES` burst. echo folds
|
||||
// identifiers as ascii, so it verifies this matches and warns otherwise.
|
||||
Casemapping { name: String },
|
||||
// Module names the ircd advertises (`CAPAB MODULES` / `MODSUPPORT`), normalized
|
||||
// (no `m_`/`.so`/`=data`). Accumulated to verify echo's dependencies.
|
||||
ModulesAvailable { modules: Vec<String> },
|
||||
// `CAPAB END` — the module lists are complete; verify dependencies now.
|
||||
CapabEnd,
|
||||
// A server split away (SQUIT). `server` is its SID; every user behind it — and
|
||||
// behind any server in its subtree — is gone, since a split is signalled once
|
||||
// rather than as a QUIT per user.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue