summaryrefslogtreecommitdiff
path: root/src/irc/notifylist/notify-commands.c
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/irc/notifylist/notify-commands.c
parent3d9b9d473fdd2ec6af367df27cfc26a90a3f4375 (diff)
downloadirssi-d4676c985553dc957e863e814097beba9bcc279e.zip
Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible.
Diffstat (limited to 'src/irc/notifylist/notify-commands.c')
-rw-r--r--src/irc/notifylist/notify-commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/notifylist/notify-commands.c b/src/irc/notifylist/notify-commands.c
index 67076106..0d4fd4f2 100644
--- a/src/irc/notifylist/notify-commands.c
+++ b/src/irc/notifylist/notify-commands.c
@@ -36,7 +36,8 @@ static void cmd_notify(gchar *data)
g_return_if_fail(data != NULL);
- if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTIONS | PARAM_FLAG_GETREST,
+ if (!cmd_get_params(data, &free_arg,
+ 2 | PARAM_FLAG_OPTIONS | PARAM_FLAG_GETREST | PARAM_FLAG_STRIP_TRAILING_WS,
"notify", &optlist, &mask, &ircnets))
return;
if (*mask == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);