relaymsg: RELAYMSG + draft/relaymsg cap for bridge-style spoofed-nick channel messages

This commit is contained in:
Jean Chevronnet 2026-08-10 09:06:30 +00:00
parent 71d6e7441b
commit 0d5717c585
5 changed files with 112 additions and 0 deletions

View file

@ -119,6 +119,7 @@ pub const RPL_LINKS: u16 = 364;
pub const RPL_ENDOFLINKS: u16 = 365;
pub const ERR_NOSUCHNICK: u16 = 401;
pub const ERR_BADRELAYNICK: u16 = 573; // RELAYMSG: bad/taken spoofed nick
pub const ERR_NOSUCHCHANNEL: u16 = 403;
pub const ERR_CANNOTSENDTOCHAN: u16 = 404;
pub const ERR_NORECIPIENT: u16 = 411;