mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 04:16:21 +00:00
Fix /correct quotation marks usage
Add new `parse_args_as_one()` function to just use everything after the command as the argument. Fix https://github.com/profanity-im/profanity/issues/1404
This commit is contained in:
@@ -2443,7 +2443,7 @@ static struct cmd_t command_defs[] = {
|
||||
},
|
||||
|
||||
{ "/correct",
|
||||
parse_args_with_freetext, 1, 1, NULL,
|
||||
parse_args_as_one, 1, 1, NULL,
|
||||
CMD_NOSUBFUNCS
|
||||
CMD_MAINFUNC(cmd_correct)
|
||||
CMD_TAGS(
|
||||
|
||||
Reference in New Issue
Block a user