about summary refs log tree commit diff stats
path: root/tests/unittests/test_plugins_disco.h
diff options
context:
space:
mode:
authorNetboy3 <1472804+netboy3@users.noreply.github.com>2022-07-28 08:24:23 -0400
committerNetboy3 <1472804+netboy3@users.noreply.github.com>2022-07-28 11:48:38 -0400
commit4ea98c71ee0095115db905569fac18a8a82731c1 (patch)
treec6eec64fb219f563276afad754e9e7754a20e202 /tests/unittests/test_plugins_disco.h
parent9605334d5a57dfcf6ef367a92574c9901f688bd8 (diff)
downloadprofani-tty-4ea98c71ee0095115db905569fac18a8a82731c1.tar.gz
Fix /autoaway command logic
Two issues were fixed in the parser logic:
* A call to cons_bad_cmd_usage() was placed at the end of the "time"
  parser section that blocked reachability to both "message" and
  "check" parser sections. This caused "/autoaway message ..." and
  "/autoaway check ..." to always fail with "Invalid usage". This
  issue was introduced in commit 3c1e4ba.
* "/autoaway message xa" with no message argument returns message
  set to (null). This should be fixed the same way as
  "/autoaway message away" was fixed in commit 3c1e4ba.
Diffstat (limited to 'tests/unittests/test_plugins_disco.h')
0 files changed, 0 insertions, 0 deletions