From bb33522e4d52d13b0814690b63c5d397c1828ed2 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 30 Jun 2016 23:18:30 +0100 Subject: [PATCH] Fix plugin load prefs --- src/plugins/plugins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);