From 85ecabdd9f29f15ce2c855e02639e31a014859a3 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 8 May 2009 09:35:16 +0200 Subject: Fix completion of IRC commands /whois and /whowas --- src/plugins/irc/irc-command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index f80e2fccf..303452c0d 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -4182,7 +4182,7 @@ irc_command_init () N_("[server] nickname[,nickname]"), N_(" server: server name\n" "nickname: nickname (may be a mask)"), - NULL, &irc_command_whois, NULL); + "%(nicks)", &irc_command_whois, NULL); weechat_hook_command ("whowas", N_("ask for information about a nickname which no " "longer exists"), @@ -4192,5 +4192,5 @@ irc_command_init () " count: number of replies to return " "(full search if negative number)\n" " target: reply should match this mask"), - NULL, &irc_command_whowas, NULL); + "%(nicks)", &irc_command_whowas, NULL); } -- cgit v1.2.3