summaryrefslogtreecommitdiff
path: root/src/irc/irc-commands.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-04-19 21:02:59 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-04-19 21:02:59 +0000
commit5ebab583f6311af24e8f90e428c724bc7225b5ba (patch)
tree4f56185602f2b829ba8871645ae6f83d747fa89a /src/irc/irc-commands.c
parentca117dbb2429b9f8e8b95c11a42a02d8fb4495d2 (diff)
downloadweechat-5ebab583f6311af24e8f90e428c724bc7225b5ba.zip
Added "-all" option for /nick command, added "341" IRC command (for invitation)
Diffstat (limited to 'src/irc/irc-commands.c')
-rw-r--r--src/irc/irc-commands.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c
index 0c87fc2bc..b98b038ab 100644
--- a/src/irc/irc-commands.c
+++ b/src/irc/irc-commands.c
@@ -152,8 +152,10 @@ t_irc_command irc_commands[] =
N_("[channel[,channel]]"), N_("channel: channel name"),
0, 1, 1, NULL, irc_cmd_send_names, NULL },
{ "nick", N_("change current nickname"),
- N_("nickname"), N_("nickname: new nickname for current IRC server"),
- 1, 1, 1, irc_cmd_send_nick, NULL, irc_cmd_recv_nick },
+ N_("[-all] nickname"),
+ N_("-all: set new nickname for all connected servers\n"
+ "nickname: new nickname"),
+ 1, 2, 1, irc_cmd_send_nick, NULL, irc_cmd_recv_nick },
{ "notice", N_("send notice message to user"),
N_("nickname text"), N_("nickname: user to send notice to\ntext: text to send"),
2, MAX_ARGS, 1, NULL, irc_cmd_send_notice, irc_cmd_recv_notice },
@@ -321,6 +323,7 @@ t_irc_command irc_commands[] =
{ "333", N_("infos about topic (nick & date changed)"),
"", "",
0, 0, 1, NULL, NULL, irc_cmd_recv_333 },
+ { "341", N_("inviting"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_341 },
{ "351", N_("server version"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_351 },
{ "352", N_("who"), "", "", 0, 0, 1, NULL, NULL, irc_cmd_recv_352 },
{ "353", N_("list of nicks on channel"),