115 |
char option_string[2048]; |
char option_string[2048]; |
116 |
#ifdef PLUGINS |
#ifdef PLUGINS |
117 |
t_weechat_plugin *ptr_plugin; |
t_weechat_plugin *ptr_plugin; |
118 |
t_plugin_cmd_handler *ptr_cmd_handler; |
t_plugin_handler *ptr_handler; |
119 |
#endif |
#endif |
120 |
|
|
121 |
/* WeeChat internal commands */ |
/* WeeChat internal commands */ |
213 |
for (ptr_plugin = weechat_plugins; ptr_plugin; |
for (ptr_plugin = weechat_plugins; ptr_plugin; |
214 |
ptr_plugin = ptr_plugin->next_plugin) |
ptr_plugin = ptr_plugin->next_plugin) |
215 |
{ |
{ |
216 |
for (ptr_cmd_handler = ptr_plugin->cmd_handlers; |
for (ptr_handler = ptr_plugin->handlers; |
217 |
ptr_cmd_handler; |
ptr_handler; ptr_handler = ptr_handler->next_handler) |
|
ptr_cmd_handler = ptr_cmd_handler->next_handler) |
|
218 |
{ |
{ |
219 |
weelist_add (&completion->completion_list, |
if (ptr_handler->type == HANDLER_COMMAND) |
220 |
&completion->last_completion, |
weelist_add (&completion->completion_list, |
221 |
ptr_cmd_handler->command); |
&completion->last_completion, |
222 |
|
ptr_handler->command); |
223 |
} |
} |
224 |
} |
} |
225 |
#endif |
#endif |