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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user