1
0
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:
Viachaslau Khalikin 2022-09-18 19:29:02 +03:00
parent 496eb6ceb8
commit dd1a9a1e50
No known key found for this signature in database
GPG Key ID: 7569457AA0318285

View File

@ -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]);