summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r--src/plugins/irc/irc-protocol.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 73424482a..c22fe28af 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -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 */