summaryrefslogtreecommitdiff
path: root/src/plugins/plugins.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-04-14 13:14:05 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-04-14 13:14:05 +0000
commitf30fb21175650ad82aea8fea878faa516eff19f5 (patch)
treef647a1c04537579052523ddeadd0a995e9bcc49a /src/plugins/plugins.c
parenta89ca83306e2e6c16bef3b955dedbeb238e91428 (diff)
downloadweechat-f30fb21175650ad82aea8fea878faa516eff19f5.zip
Improved nick completion: completes with last speakers first (task #5896), fixed nick completion (bugs #19590 and #19589)
Diffstat (limited to 'src/plugins/plugins.c')
-rw-r--r--src/plugins/plugins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index 430c80935..5650b6d10 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -322,7 +322,8 @@ plugin_cmd_handler_add (t_weechat_plugin *plugin, char *command,
/* add command to WeeChat commands list */
if (!weelist_search (index_commands, command))
- weelist_add (&index_commands, &last_index_command, command);
+ weelist_add (&index_commands, &last_index_command, command,
+ WEELIST_POS_SORT);
}
else
{