about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-04 23:00:41 +0100
committerJames Booth <boothj5@gmail.com>2016-07-04 23:00:41 +0100
commit03c7ac73fd903a6c48658fd3c5e270d35f5a80c2 (patch)
tree1855010b3135784d5c5a35b33d93bca3ba9f31a4 /src/command
parentc8d09083a805c4ea40a9d76ac2199d1b939cd024 (diff)
downloadprofani-tty-03c7ac73fd903a6c48658fd3c5e270d35f5a80c2.tar.gz
Move prefs_remove_plugin to plugins_unload
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 9b7c36a8..540773d7 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -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]);