From ac42b651772bb0c1b89dd8683e853d85c6ffa77e Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 27 Sep 2003 14:32:24 +0000 Subject: Fixed /privmsg command --- src/irc/irc-commands.c | 2 +- weechat/src/irc/irc-commands.c | 2 +- 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)"), -- cgit v1.2.3