Strip the trailing whitespace from /join commands.

Fixes #99 for great good.
This commit is contained in:
LemonBoy 2015-11-09 18:39:13 +01:00
commit 3d9b9d473f
2 changed files with 3 additions and 2 deletions

View file

@ -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) ?