1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

irc: add field "utf8only" in IRC server structure

This commit is contained in:
Sébastien Helleu
2023-05-17 20:49:27 +02:00
parent 980b075ce9
commit 359ec5d2db
5 changed files with 50 additions and 18 deletions
+5
View File
@@ -4004,6 +4004,11 @@ IRC_PROTOCOL_CALLBACK(005)
if (utf8mapping >= 0)
server->utf8mapping = utf8mapping;
}
else if (strcmp (params[i], "UTF8ONLY") == 0)
{
/* save utf8only */
server->utf8only = 1;
}
else if (strncmp (params[i], "CHANTYPES=", 10) == 0)
{
/* save chantypes */