mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible.
This commit is contained in:
parent
3d9b9d473f
commit
d4676c9855
11 changed files with 33 additions and 25 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue