mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix plugin install output
This commit is contained in:
parent
9af921f260
commit
10814b044d
@ -6062,7 +6062,7 @@ cmd_plugins(ProfWin *window, const char *const command, gchar **args)
|
|||||||
char *plugin_name = basename(filename);
|
char *plugin_name = basename(filename);
|
||||||
gboolean result = plugins_install(plugin_name, filename);
|
gboolean result = plugins_install(plugin_name, filename);
|
||||||
if (result) {
|
if (result) {
|
||||||
cons_show("Plugin installed, use '/plugin load %s' to enable the plugin.", plugin_name);
|
cons_show("Plugin installed: %s", plugin_name);
|
||||||
} else {
|
} else {
|
||||||
cons_show("Failed to install plugin: %s", plugin_name);
|
cons_show("Failed to install plugin: %s", plugin_name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user