Skip to content

Commit

Permalink
Add dummy TAGMSG command handler
Browse files Browse the repository at this point in the history
  • Loading branch information
progval authored and spb committed Aug 10, 2024
1 parent 20718df commit 16cd4a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sable_ircd/src/command/handlers/tagmsg.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use super::*;

/// Minimal implementation of TAGMSG that just drops everything, so we can safely
/// implement https://ircv3.net/specs/extensions/message-tags
///
/// `CLIENTTAGDENY=*` tells clients we would drop all tags, anyway.
#[command_handler("TAGMSG")]
fn handle_tagmsg() -> CommandResult {
Ok(())
}
1 change: 1 addition & 0 deletions sable_ircd/src/command/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ mod handlers {
mod quit;
pub mod register;
mod rename;
mod tagmsg;
mod topic;
mod user;
mod userhost;
Expand Down

0 comments on commit 16cd4a1

Please sign in to comment.