mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
Fixed completion of redefined commands removed by plugins (bug #19176)
This commit is contained in:
@@ -752,7 +752,8 @@ plugin_handler_remove (t_weechat_plugin *plugin,
|
||||
(handler->next_handler)->prev_handler = handler->prev_handler;
|
||||
|
||||
/* remove command from WeeChat command list, if command handler */
|
||||
if (handler->type == PLUGIN_HANDLER_COMMAND)
|
||||
if ((handler->type == PLUGIN_HANDLER_COMMAND)
|
||||
&& (!command_used_by_weechat (handler->command)))
|
||||
weelist_remove (&index_commands, &last_index_command,
|
||||
weelist_search (index_commands, handler->command));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user