summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-09-27 14:32:24 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-09-27 14:32:24 +0000
commitac42b651772bb0c1b89dd8683e853d85c6ffa77e (patch)
tree5fb17dea203137b03dc8ef05e9b7230c76f93edf
parentc3bb49501c01f06cc606266031697bd817a42e0f (diff)
downloadweechat-ac42b651772bb0c1b89dd8683e853d85c6ffa77e.zip
Fixed /privmsg command
-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)"),