From f8114c834f8228c39bd0a3ea88a6edff749a4f4a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 6 Feb 2002 18:07:55 +0000 Subject: [PATCH] DCC /MSG handlers broke /MSG -ircnet git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2396 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/dcc/fe-dcc-chat.c | 4 ++-- src/irc/dcc/dcc-chat.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fe-common/irc/dcc/fe-dcc-chat.c b/src/fe-common/irc/dcc/fe-dcc-chat.c index 61bce279..74d0d70b 100644 --- a/src/fe-common/irc/dcc/fe-dcc-chat.c +++ b/src/fe-common/irc/dcc/fe-dcc-chat.c @@ -235,8 +235,8 @@ static void cmd_msg(const char *data) g_return_if_fail(data != NULL); - if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTIONS | - PARAM_FLAG_GETREST, "msg", + if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_UNKNOWN_OPTIONS | + PARAM_FLAG_OPTIONS | PARAM_FLAG_GETREST, "msg", &optlist, &target, &text)) return; diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index c6e9f9b8..93aaaf55 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -182,8 +182,8 @@ static void cmd_msg(const char *data) g_return_if_fail(data != NULL); - if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTIONS | - PARAM_FLAG_GETREST, "msg", + if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_UNKNOWN_OPTIONS | + PARAM_FLAG_OPTIONS | PARAM_FLAG_GETREST, "msg", &optlist, &target, &text)) return;