1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fix quoted nicknames in /group add

fixes #233
This commit is contained in:
James Booth 2013-08-27 00:05:09 +01:00
parent d27db7ed34
commit efc9c53465

View File

@ -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;