From efc9c53465c51313152457a3482b7b83b5b6a626 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 27 Aug 2013 00:05:09 +0100 Subject: [PATCH] Fix quoted nicknames in /group add fixes #233 --- src/tools/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/parser.c b/src/tools/parser.c index dabf7128..f273923a 100644 --- a/src/tools/parser.c +++ b/src/tools/parser.c @@ -210,7 +210,7 @@ parse_args_with_freetext(const char * const inp, int min, int max) } else { in_token = TRUE; num_tokens++; - if (num_tokens == max + 1) { + if ((num_tokens == max + 1) && (curr_uni != '"')) { in_freetext = TRUE; } else if (curr_uni == '"') { in_quotes = TRUE;