1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

irc: fix default completion (like nicks) in commands /msg, /notice, /query and /topic

This commit is contained in:
Sebastien Helleu
2013-03-22 09:40:44 +01:00
parent 19acf8121f
commit 55e58811b3
2 changed files with 7 additions and 5 deletions
+4 -4
View File
@@ -5850,7 +5850,7 @@ irc_command_init ()
"current channel)\n"
" text: text to send"),
"-server %(irc_servers)"
" || %(nicks) %-",
" || %(nicks)",
&irc_command_msg, NULL);
weechat_hook_command ("names",
N_("list nicks on channels"),
@@ -5872,7 +5872,7 @@ irc_command_init ()
N_("server: send to this server (internal name)\n"
"target: nick or channel\n"
" text: text to send"),
"%(nicks)|-server %(irc_servers) %-", &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"),
@@ -5940,7 +5940,7 @@ irc_command_init ()
N_("server: send to this server (internal name)\n"
" nick: nick for private conversation\n"
" text: text to send"),
"%(nicks)|-server %(irc_servers) %-", &irc_command_query, NULL);
"%(nicks)|-server %(irc_servers)", &irc_command_query, NULL);
weechat_hook_command ("quiet",
N_("quiet nicks or hosts"),
N_("[<channel>] [<nick> [<nick>...]]"),
@@ -6114,7 +6114,7 @@ irc_command_init ()
N_("channel: channel name\n"
" topic: new topic for channel\n"
"-delete: delete channel topic"),
"%(irc_channel_topic)|-delete %-", &irc_command_topic, NULL);
"%(irc_channel_topic)|-delete", &irc_command_topic, NULL);
weechat_hook_command ("trace",
N_("find the route to specific server"),
N_("[<target>]"),