diff options
author | James Booth <boothj5@gmail.com> | 2016-06-30 23:18:30 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-06-30 23:18:30 +0100 |
commit | bb33522e4d52d13b0814690b63c5d397c1828ed2 (patch) | |
tree | 25aaad18edb0dcddc5744a5b8bef24d9f9ad9dc7 /src | |
parent | 0cd1b50122294ac5a5d967d934eea82aec2874f1 (diff) | |
download | profani-tty-bb33522e4d52d13b0814690b63c5d397c1828ed2.tar.gz |
Fix plugin load prefs
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/plugins.c | 2 |
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); |