Skip to content

Commit

Permalink
Advertise UTF8ONLY ISUPPORT token
Browse files Browse the repository at this point in the history
We already return an ERROR on non-UTF8 message.

The spec recommends FAIL, but does not require it.
  • Loading branch information
progval authored and spb committed May 4, 2024
1 parent 3117454 commit 6ba5241
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sable_ircd/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ impl ClientServer {
ret.add(ISupportEntry::simple("INVEX"));
ret.add(ISupportEntry::simple("FNC"));

// https://ircv3.net/specs/extensions/utf8-only
ret.add(ISupportEntry::simple("UTF8ONLY"));

ret.add(ISupportEntry::int(
"MONITOR",
config.monitor.max_per_connection.into(),
Expand Down

0 comments on commit 6ba5241

Please sign in to comment.