1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

irc: remove capability from cap_list when a client capability is disabled (issue #151)

This commit is contained in:
Sébastien Helleu
2019-06-15 08:56:48 +02:00
parent b6c304ac87
commit 95cbf3a48b
+3
View File
@@ -673,6 +673,9 @@ IRC_PROTOCOL_CALLBACK(cap)
weechat_string_dyn_concat (str_caps_disabled, " ");
weechat_string_dyn_concat (str_caps_disabled,
caps_supported[i] + 1);
weechat_hashtable_remove (server->cap_list,
caps_supported[i] + 1);
}
else
{