From 3eedfa4e122044f4e9f5fe4233748c880d281d42 Mon Sep 17 00:00:00 2001 From: Valentin Batz Date: Fri, 17 Feb 2006 23:18:34 +0000 Subject: [PATCH] leave parameter count check as it was before git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4245 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc-resume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc/dcc/dcc-resume.c b/src/irc/dcc/dcc-resume.c index 11a3996f..ae070ac5 100644 --- a/src/irc/dcc/dcc-resume.c +++ b/src/irc/dcc/dcc-resume.c @@ -89,7 +89,7 @@ static int dcc_ctcp_resume_parse(int type, const char *data, const char *nick, params = g_strsplit(data, " ", -1); paramcount = strarray_length(params); - if (paramcount < 3 || paramcount > 4) + if (paramcount < 3) return 0; fileparams = get_file_params_count_resume(params, paramcount);