about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-06-30 23:18:30 +0100
committerJames Booth <boothj5@gmail.com>2016-06-30 23:18:30 +0100
commitbb33522e4d52d13b0814690b63c5d397c1828ed2 (patch)
tree25aaad18edb0dcddc5744a5b8bef24d9f9ad9dc7 /src
parent0cd1b50122294ac5a5d967d934eea82aec2874f1 (diff)
downloadprofani-tty-bb33522e4d52d13b0814690b63c5d397c1828ed2.tar.gz
Fix plugin load prefs
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index ac8e33c6..59aa27a9 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -165,7 +165,7 @@ plugins_load(const char *const name)
             plugin->init_func(plugin, PACKAGE_VERSION, PACKAGE_STATUS, NULL, NULL);
         }
         log_info("Loaded plugin: %s", name);
-        prefs_add_plugin(args[1]);
+        prefs_add_plugin(name);
         return TRUE;
     } else {
         log_info("Failed to load plugin: %s", name);