1
0

Only add default plugins if there are not any plugins

Fixes #2082
This commit is contained in:
worktycho 2015-05-25 18:43:18 +01:00
parent 150024265e
commit 6735b0d534

View File

@ -1935,7 +1935,7 @@ size_t cPluginManager::GetNumLoadedPlugins(void) const
AStringVector cPluginManager::GetFoldersToLoad(cSettingsRepositoryInterface & a_Settings)
{
// Check if the Plugins section exists.
if (a_Settings.KeyExists("Plugins"))
if (!a_Settings.KeyExists("Plugins"))
{
InsertDefaultPlugins(a_Settings);
}