diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-07-02 08:36:51 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-07-02 08:36:51 +0200 |
commit | 2cbea9daad9a4c8dd3cae7b7f8724aae6168a821 (patch) | |
tree | 1c04607df3f847b9d2dde5e8b22bbdac1b6f6729 /src | |
parent | 34b5e0f8c60c2319782835f3b58033c460e45ae3 (diff) | |
download | profani-tty-2cbea9daad9a4c8dd3cae7b7f8724aae6168a821.tar.gz |
cmd_blocked: Exit when wrong arguments
Diffstat (limited to 'src')
-rw-r--r-- | src/command/cmd_funcs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 8e474e2b..88ab9712 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -3058,6 +3058,7 @@ cmd_blocked(ProfWin* window, const char* const command, gchar** args) jid = args[1]; } else { cons_bad_cmd_usage(command); + return TRUE; } if (argn >= 3) { |