core: add oper MODULES command (702/703) listing loaded modules; module.list RPC already existed

This commit is contained in:
Jean Chevronnet 2026-08-22 17:36:46 +00:00
parent 4357a59c7a
commit 70a4ecb0a0
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
2 changed files with 25 additions and 0 deletions

View file

@ -101,6 +101,8 @@ pub const RPL_WHOISMODES: u16 = 379; // oper/self-only: "is using modes +<umodes
pub const RPL_SNOMASKIS: u16 = 8; // "+<mask> :Server notice mask" after a +s change
pub const ERR_NEEDREGGEDNICK: u16 = 477; // chan +R/+M — must be logged into an account
pub const RPL_WHOISHOST: u16 = 378; // oper-only: real host/ip behind a cloak
pub const RPL_MODLIST: u16 = 702; // /MODULES entry
pub const RPL_ENDOFMODLIST: u16 = 703; // /MODULES terminator
pub const RPL_HELPSTART: u16 = 704; // /HELP first line
pub const RPL_HELPTXT: u16 = 705; // /HELP body line
pub const RPL_ENDOFHELP: u16 = 706; // /HELP terminator