From 8acf2cd5f97906877107b6a547bc939d134beaa2 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 29 Jan 2001 12:39:13 +0000 Subject: [PATCH] /nctcp crashed git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-irc-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/irc/fe-irc-commands.c b/src/fe-common/irc/fe-irc-commands.c index 94a7e774..49d5e917 100644 --- a/src/fe-common/irc/fe-irc-commands.c +++ b/src/fe-common/irc/fe-irc-commands.c @@ -145,7 +145,7 @@ static void cmd_nctcp(const char *data, IRC_SERVER_REC *server) if (server == NULL || !server->connected) cmd_return_error(CMDERR_NOT_CONNECTED); - if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_GETREST, + if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_GETREST, &target, &text)) return; if (*target == '\0' || *text == '\0')