about summary refs log tree commit diff stats
path: root/tests/unittests/test_plugins_disco.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-20 15:33:19 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-20 15:33:19 +0200
commit86281072f9b943c23119f1c90cd33934caf1d737 (patch)
treee6109de8096bc23298f1346b49f2053cc407ac03 /tests/unittests/test_plugins_disco.c
parentc5c969a9295abe688ad7fd9afce430bae5df910c (diff)
downloadprofani-tty-86281072f9b943c23119f1c90cd33934caf1d737.tar.gz
Use parse_args_with_freetext() for `/correct`
This commit partly reverts
8f37afcd37ad8663ca36c13ca7fbc4a431119f73
Which was using a wrong approach to achieve this.

It changed parse_args() to have a -1 for infinite parameters.
But actually parse_args_with_freetext() should have been used exactly
for this behaviour.

Discovered when checking for
https://github.com/profanity-im/profanity/issues/1404
Diffstat (limited to 'tests/unittests/test_plugins_disco.c')
0 files changed, 0 insertions, 0 deletions