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 3ba8a45c1..d5c59b909 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -966,6 +966,11 @@ IRC_PROTOCOL_CALLBACK(cap)
{
weechat_hashtable_set (server->cap_ls,
str_name, pos_value + 1);
+ if (strcmp (str_name, "draft/multiline") == 0)
+ {
+ irc_message_parse_cap_multiline_value (
+ server, pos_value + 1);
+ }
free (str_name);
}
}