summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc/irc-commands.c2
-rw-r--r--weechat/src/irc/irc-commands.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/irc-commands.c b/src/irc/irc-commands.c
index a830d938c..3d87a4794 100644
--- a/src/irc/irc-commands.c
+++ b/src/irc/irc-commands.c
@@ -135,7 +135,7 @@ t_irc_command irc_commands[] =
1, 2, 1, irc_cmd_send_pong, NULL, NULL },
{ "privmsg", N_("message received"),
"", "",
- 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_privmsg },
+ 0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg },
{ "quit", N_("close all connections & quit " WEECHAT_NAME),
N_("[quit_message]"),
N_("quit_message: quit message (displayed to other users)"),
diff --git a/weechat/src/irc/irc-commands.c b/weechat/src/irc/irc-commands.c
index a830d938c..3d87a4794 100644
--- a/weechat/src/irc/irc-commands.c
+++ b/weechat/src/irc/irc-commands.c
@@ -135,7 +135,7 @@ t_irc_command irc_commands[] =
1, 2, 1, irc_cmd_send_pong, NULL, NULL },
{ "privmsg", N_("message received"),
"", "",
- 0, MAX_ARGS, 1, NULL, NULL, irc_cmd_recv_privmsg },
+ 0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg },
{ "quit", N_("close all connections & quit " WEECHAT_NAME),
N_("[quit_message]"),
N_("quit_message: quit message (displayed to other users)"),