summaryrefslogtreecommitdiff
path: root/src/irc/irc-commands.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-08-28 12:09:09 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-08-28 12:09:09 +0000
commit3eb2b1dc0f8b4f1c6517da1802548a8d8e39c9ee (patch)
tree35ff331f166525356b4215405d86cbf02b68a1ad /src/irc/irc-commands.c
parent11acdddda3c92ff3de5c322a5872c087cd217825 (diff)
downloadweechat-3eb2b1dc0f8b4f1c6517da1802548a8d8e39c9ee.zip
Fixed bug with CTCP VERSION sent on channels (bug #17547), added current channel completion for /ctcp command
Diffstat (limited to 'src/irc/irc-commands.c')
-rw-r--r--src/irc/irc-commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c
index dd6befc40..a083e07dd 100644
--- a/src/irc/irc-commands.c
+++ b/src/irc/irc-commands.c
@@ -54,11 +54,11 @@ t_irc_command irc_commands[] =
"nickname: user or host to ban"),
"%N", 0, MAX_ARGS, 0, 1, NULL, irc_cmd_send_ban, NULL },
{ "ctcp", N_("send a CTCP message (Client-To-Client Protocol)"),
- N_("nickname type [arguments]"),
- N_(" nickname: user to send CTCP to\n"
+ N_("receiver type [arguments]"),
+ N_(" receiver: nick or channel to send CTCP to\n"
" type: CTCP type (examples: \"version\", \"ping\", ..)\n"
"arguments: arguments for CTCP"),
- "%n action|ping|version", 2, MAX_ARGS, 1, 1, NULL, irc_cmd_send_ctcp, NULL },
+ "%c|%n action|ping|version", 2, MAX_ARGS, 1, 1, NULL, irc_cmd_send_ctcp, NULL },
{ "cycle", N_("leave and rejoin a channel"),
N_("[channel[,channel]] [part_message]"),
N_(" channel: channel name for cycle\n"