diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-03-20 22:39:06 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-03-20 22:39:06 +0100 |
commit | 132d3c49f302a87d1357ba91ba715faa6bfcea29 (patch) | |
tree | 184f32ceae7e0ff4da11a2afe8bdbb75578342a4 /src/irc/dcc/dcc.c | |
parent | c5e2f449847f8663d53bcd6dab64efa297a2ab70 (diff) | |
download | irssi-132d3c49f302a87d1357ba91ba715faa6bfcea29.zip |
strip less whitespace from commands
fixes #445
Diffstat (limited to 'src/irc/dcc/dcc.c')
-rw-r--r-- | src/irc/dcc/dcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index 7f35585e..17f6c477 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -496,8 +496,8 @@ static void cmd_dcc_close(char *data, IRC_SERVER_REC *server) g_return_if_fail(data != NULL); - if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_GETREST | - PARAM_FLAG_STRIP_TRAILING_WS, &typestr, &nick, &arg)) + if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_GETREST, + &typestr, &nick, &arg)) return; if (*nick == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS); |