summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-05-08 09:35:16 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-05-08 09:35:16 +0200
commit85ecabdd9f29f15ce2c855e02639e31a014859a3 (patch)
tree63899f56dd999016df653bac5ba41fbfd2b21a27
parenta61e80858daf588c3591d79af0c7615715e0f45b (diff)
downloadweechat-85ecabdd9f29f15ce2c855e02639e31a014859a3.zip
Fix completion of IRC commands /whois and /whowas
-rw-r--r--src/plugins/irc/irc-command.c4
1 files 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);
}