diff options
-rw-r--r-- | base/plugins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp index cdcb480c40..3cc2756d9d 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -311,7 +311,7 @@ void PluginManager::loadPlugins() { // Scan for all plugins in this directory FilesystemNode dir(PLUGIN_DIRECTORY); FSList files; - if (dir.listDir(files, FilesystemNode::kListFilesOnly)) { + if (!dir.listDir(files, FilesystemNode::kListFilesOnly)) { error("Couldn't open plugin directory '%s'", PLUGIN_DIRECTORY); } |