summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-03-22 15:23:37 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-03-22 15:23:37 +0100
commit195c44a76ed31b6a0804d93ec8e7ac1b69f07a3d (patch)
tree1a8eb1a1a3545cd8e119ebcad407e24904b2af02 /src/irc
parentf7658640fba5536e6dbfc2014b28523d8510e970 (diff)
parent132d3c49f302a87d1357ba91ba715faa6bfcea29 (diff)
downloadirssi-195c44a76ed31b6a0804d93ec8e7ac1b69f07a3d.zip
Merge pull request #446 from ailin-nemui/fix_445
strip less whitespace from commands
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/dcc/dcc.c4
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);