diff options
author | Sadie Powell <sadie@witchery.services> | 2021-06-01 06:25:19 +0100 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2021-06-01 09:26:48 -0500 |
commit | 333a02d015fcea22a7ac5aaec086ec17b8bb195d (patch) | |
tree | 300a594a0c814bfe3764f9c3879882c3f5af4011 | |
parent | 734d888210dc2863fbcd37c408102460476623bb (diff) |
Implement support for the IRCv3 UTF8ONLY specification.
https://ircv3.net/specs/extensions/utf8-only
-rw-r--r-- | src/common/modes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/modes.c b/src/common/modes.c index 82b466cb..17f9ce99 100644 --- a/src/common/modes.c +++ b/src/common/modes.c @@ -913,6 +913,9 @@ inbound_005 (server * serv, char *word[], const message_tags_data *tags_data) { server_set_encoding (serv, "UTF-8"); } + } else if (g_strcmp0 (tokname, "UTF8ONLY") == 0) + { + server_set_encoding (serv, "UTF-8"); } else if (g_strcmp0 (tokname, "NAMESX") == 0) { /* 12345678901234567 */ |