diff options
author | LemonBoy <thatlemon@gmail.com> | 2015-11-09 23:02:41 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2015-11-09 23:02:41 +0100 |
commit | d4676c985553dc957e863e814097beba9bcc279e (patch) | |
tree | ea2e1b2adc9422bb9aa25c25da2a46fb1e1f1c32 /src/irc/dcc/dcc.c | |
parent | 3d9b9d473fdd2ec6af367df27cfc26a90a3f4375 (diff) | |
download | irssi-d4676c985553dc957e863e814097beba9bcc279e.zip |
Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible.
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 17f6c477..7f35585e 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, - &typestr, &nick, &arg)) + if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_GETREST | + PARAM_FLAG_STRIP_TRAILING_WS, &typestr, &nick, &arg)) return; if (*nick == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS); |