From 2cbea9daad9a4c8dd3cae7b7f8724aae6168a821 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 2 Jul 2021 08:36:51 +0200 Subject: [PATCH] cmd_blocked: Exit when wrong arguments --- src/command/cmd_funcs.c | 1 + 1 file changed, 1 insertion(+) 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) {