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:
parent
34b5e0f8c6
commit
2cbea9daad
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user