mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fix handle cmd_plugins_uninstall without args
Signed-off-by: Viachaslau Khalikin <viachaslau.vinegret@outlook.com>
This commit is contained in:
parent
496eb6ceb8
commit
dd1a9a1e50
@ -7117,7 +7117,8 @@ gboolean
|
||||
cmd_plugins_uninstall(ProfWin* window, const char* const command, gchar** args)
|
||||
{
|
||||
if (args[1] == NULL) {
|
||||
return FALSE;
|
||||
cons_show("Please specify plugin name, see /help plugins");
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean res = plugins_uninstall(args[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user