From 7542ec4f2028b5b154dd1f1777a1d07b585e4b52 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 25 Sep 2009 00:53:15 +0200 Subject: 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. --- src/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index 7c274397..f69bdf63 100644 --- a/src/command.c +++ b/src/command.c @@ -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 -- cgit v1.2.3