command: relax requirements for unquoted words
Allow most printable characters in unquoted words. The tokenizer patch introduced very strict requirements for command parameters - those were undocumented, and we're reverting the strictness now.
This commit is contained in:
@@ -1959,7 +1959,7 @@ command_process(struct client *client, unsigned num, char *line)
|
||||
|
||||
while (argc < (int)G_N_ELEMENTS(argv) &&
|
||||
(argv[argc] =
|
||||
tokenizer_next_word_or_string(&line, &error)) != NULL)
|
||||
tokenizer_next_param(&line, &error)) != NULL)
|
||||
++argc;
|
||||
|
||||
/* some error checks; we have to set current_command because
|
||||
|
||||
Reference in New Issue
Block a user