summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-10-09 21:20:43 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-10-09 21:20:43 +0200
commita06be57eb7c2960ae60bba120378186a4d7c7a28 (patch)
tree00d02affb92d940b4214e665dc75d1277415ddb6 /src
parent1bda9f107729a87d2badd2ed38e1a9925bd3fb3a (diff)
downloadweechat-a06be57eb7c2960ae60bba120378186a4d7c7a28.zip
irc: fix completion of commands /msg, /notice and /query
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-command.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 93a391cc8..1e8a31b6f 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -6195,7 +6195,7 @@ irc_command_init ()
N_("server: send to this server (internal name)\n"
"target: nick or channel (may be mask, '*' = current channel)\n"
" text: text to send"),
- "-server %(irc_servers)"
+ "-server %(irc_servers) %(nicks)"
" || %(nicks)",
&irc_command_msg, NULL);
weechat_hook_command (
@@ -6220,7 +6220,9 @@ irc_command_init ()
N_("server: send to this server (internal name)\n"
"target: nick or channel name\n"
" text: text to send"),
- "%(nicks)|-server %(irc_servers)", &irc_command_notice, NULL);
+ "-server %(irc_servers) %(nicks)"
+ " || %(nicks)",
+ &irc_command_notice, NULL);
weechat_hook_command (
"notify",
N_("add a notification for presence or away status of nicks on servers"),
@@ -6289,7 +6291,9 @@ irc_command_init ()
N_("server: send to this server (internal name)\n"
" nick: nick\n"
" text: text to send"),
- "%(nicks)|-server %(irc_servers)", &irc_command_query, NULL);
+ "-server %(irc_servers) %(nicks)"
+ " || %(nicks)",
+ &irc_command_query, NULL);
weechat_hook_command (
"quiet",
N_("quiet nicks or hosts"),