1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

cmd_blocked: Exit when wrong arguments

This commit is contained in:
Michael Vetter 2021-07-02 08:36:51 +02:00
parent 34b5e0f8c6
commit 2cbea9daad

View File

@ -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) {