Move prefs_remove_plugin to plugins_unload

This commit is contained in:
James Booth
2016-07-04 23:00:41 +01:00
parent c8d09083a8
commit 03c7ac73fd
2 changed files with 3 additions and 2 deletions

View File

@@ -6045,7 +6045,6 @@ cmd_plugins(ProfWin *window, const char *const command, gchar **args)
}
gboolean res = plugins_unload(args[1]);
if (res) {
prefs_remove_plugin(args[1]);
cons_show("Unloaded plugin: %s", args[1]);
} else {
cons_show("Failed to unload plugin: %s", args[1]);