summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-29 12:39:13 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-29 12:39:13 +0000
commit8acf2cd5f97906877107b6a547bc939d134beaa2 (patch)
tree6ca50a1d3cf7476088845f373a5d8cb0956c14f1 /src/fe-common
parente09be2c7b4b0af8f59fd3119439010393540e2e7 (diff)
downloadirssi-8acf2cd5f97906877107b6a547bc939d134beaa2.zip
/nctcp crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/irc/fe-irc-commands.c2
1 files changed, 1 insertions, 1 deletions
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')