diff options
author | LemonBoy <thatlemon@gmail.com> | 2015-11-09 18:39:13 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2015-11-09 18:42:49 +0100 |
commit | 3d9b9d473fdd2ec6af367df27cfc26a90a3f4375 (patch) | |
tree | 69c100a2b8bfc6c8f7db083b3644de08e78afaf4 /src/core | |
parent | 1006fee8027936c68e0f0b2f8dae766ad090764a (diff) | |
download | irssi-3d9b9d473fdd2ec6af367df27cfc26a90a3f4375.zip |
Strip the trailing whitespace from /join commands.
Fixes #99 for great good.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commands.c b/src/core/commands.c index 0fb373c7..88d1208c 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -751,7 +751,7 @@ int cmd_get_params(const char *data, gpointer *free_me, int count, ...) /* strip the trailing whitespace */ if (count & PARAM_FLAG_STRIP_TRAILING_WS) { - arg = g_strchomp (arg); + arg = g_strchomp(arg); } } else { arg = (count & PARAM_FLAG_NOQUOTES) ? |