summaryrefslogtreecommitdiff
path: root/src/irc/irc-commands.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-11-29 10:11:21 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-11-29 10:11:21 +0000
commit6efb8e44396e4158e23077783bc30b6319bf7ec0 (patch)
treed9956229ecc7bb4e78935b636d221bddf83c37b8 /src/irc/irc-commands.c
parentc005d8c4d3578a3a1fcc1d2998958fa4387136c3 (diff)
downloadweechat-6efb8e44396e4158e23077783bc30b6319bf7ec0.zip
/nick command is now allowed when not connected to server
Diffstat (limited to 'src/irc/irc-commands.c')
-rw-r--r--src/irc/irc-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c
index f994d2262..c14a096c9 100644
--- a/src/irc/irc-commands.c
+++ b/src/irc/irc-commands.c
@@ -174,7 +174,7 @@ t_irc_command irc_commands[] =
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 },
+ 1, 2, 0, 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 },