summaryrefslogtreecommitdiff
path: root/src/fe-common/irc
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2015-11-09 23:02:41 +0100
committerLemonBoy <thatlemon@gmail.com>2015-11-09 23:02:41 +0100
commitd4676c985553dc957e863e814097beba9bcc279e (patch)
treeea2e1b2adc9422bb9aa25c25da2a46fb1e1f1c32 /src/fe-common/irc
parent3d9b9d473fdd2ec6af367df27cfc26a90a3f4375 (diff)
downloadirssi-d4676c985553dc957e863e814097beba9bcc279e.zip
Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible.
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r--src/fe-common/irc/fe-irc-commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-irc-commands.c b/src/fe-common/irc/fe-irc-commands.c
index a23facbd..11a911d2 100644
--- a/src/fe-common/irc/fe-irc-commands.c
+++ b/src/fe-common/irc/fe-irc-commands.c
@@ -246,8 +246,8 @@ static void cmd_ban(const char *data, IRC_SERVER_REC *server,
CMD_IRC_SERVER(server);
- if (!cmd_get_params(data, &free_arg, 2 |
- PARAM_FLAG_OPTCHAN | PARAM_FLAG_GETREST,
+ if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTCHAN |
+ PARAM_FLAG_GETREST | PARAM_FLAG_STRIP_TRAILING_WS,
item, &channel, &nicks))
return;