Skip to content

Node.js based forum software built for the modern web

fix: pluginPaths

Barış Soner Uşaklı0743554dd4f3
diff --git a/src/plugins/data.js b/src/plugins/data.js
index af96f94028..e66bd74e9a 100644
--- a/src/plugins/data.js
+++ b/src/plugins/data.js
@@ -23,7 +23,7 @@ Data.getPluginPaths = async function () {
winston.warn(`[plugins] "${plugins[i]}" is active but not installed.`);
}
});
- return plugins.filter((p, i) => exists[i]);
+ return pluginPaths.filter((p, i) => exists[i]);
};
Data.loadPluginInfo = async function (pluginPath) {