summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-01-02 19:59:38 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-01-02 19:59:38 +0100
commitc466b5e1b1f33577778cd9a47ad8110411380131 (patch)
treef98827dae8b2d8a7198695b21e7c1bbe0ba3c364 /src
parentf37d13466ebbff6456e7132f582b60c7e72c2d70 (diff)
downloadweechat-c466b5e1b1f33577778cd9a47ad8110411380131.zip
Fix completion of IRC commands /notice, /query and /quote (add -server with servers) (bug #32027)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 2727e8c7b..4a1da861b 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -4939,7 +4939,7 @@ irc_command_init ()
N_("server: send to this server (internal name)\n"
"target: nick or channel\n"
" text: text to send"),
- "%(nicks) %-", &irc_command_notice, NULL);
+ "%(nicks)|-server %(irc_servers) %-", &irc_command_notice, NULL);
weechat_hook_command ("notify",
N_("add a notification for presence or away status "
"of nicks on servers"),
@@ -5008,13 +5008,13 @@ irc_command_init ()
N_(" server: send to this server (internal name)\n"
"nickname: nickname for private conversation\n"
" text: text to send"),
- "%(nicks) %-", &irc_command_query, NULL);
+ "%(nicks)|-server %(irc_servers) %-", &irc_command_query, NULL);
weechat_hook_command ("quote",
N_("send raw data to server without parsing"),
N_("[-server server] data"),
N_("server: send to this server (internal name)\n"
" data: raw data to send"),
- NULL, &irc_command_quote, NULL);
+ "-server %(irc_servers)", &irc_command_quote, NULL);
weechat_hook_command ("reconnect",
N_("reconnect to server(s)"),
N_("[servername [servername ...] | -all] [-nojoin] "