1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fix plugin load prefs

This commit is contained in:
James Booth 2016-06-30 23:18:30 +01:00
parent 0cd1b50122
commit bb33522e4d

View File

@ -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);