diff options
Diffstat (limited to 'src/Bindings/PluginManager.cpp')
-rw-r--r-- | src/Bindings/PluginManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp index aa2b5fbfc..631f8f6bc 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -68,7 +68,7 @@ void cPluginManager::RefreshPluginList(void) AStringVector Folders; for (auto & item: Contents) { - if ((item == ".") || (item == "..") || (!cFile::IsFolder(PluginsPath + item))) + if (!cFile::IsFolder(PluginsPath + item)) { // We only want folders, and don't want "." or ".." continue; |