1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

Fixed bug with modifiers list in "/plugin listfull" command

This commit is contained in:
Sebastien Helleu
2006-10-24 19:35:17 +00:00
parent ff2e38a006
commit 81aff59e4e
16 changed files with 1100 additions and 1082 deletions
+4 -5
View File
@@ -2601,19 +2601,18 @@ weechat_cmd_plugin_list (char *name, int full)
gui_printf (NULL, _(" %d defined\n"),
handler_found);
/* IRC modifiers */
/* modifiers */
irc_display_prefix (NULL, NULL, PREFIX_PLUGIN);
gui_printf (NULL, _(" IRC modifiers:\n"));
gui_printf (NULL, _(" modifiers:\n"));
modifier_found = 0;
for (ptr_modifier = ptr_plugin->modifiers;
ptr_modifier; ptr_modifier = ptr_modifier->next_modifier)
{
if (ptr_modifier->type == PLUGIN_HANDLER_KEYBOARD)
modifier_found++;
modifier_found++;
}
irc_display_prefix (NULL, NULL, PREFIX_PLUGIN);
if (!modifier_found)
gui_printf (NULL, _(" (no IRC modifier)\n"));
gui_printf (NULL, _(" (no modifier)\n"));
else
gui_printf (NULL, _(" %d defined\n"),
modifier_found);