mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
fix filter
This commit is contained in:
@@ -499,7 +499,7 @@ function enableDefaultPlugins(next) {
|
||||
}
|
||||
|
||||
defaultEnabled = defaultEnabled.filter(function(plugin, index, array) {
|
||||
return array.indexOf(plugin) === -1;
|
||||
return array.indexOf(plugin) === index;
|
||||
});
|
||||
|
||||
var db = require('./database');
|
||||
|
||||
Reference in New Issue
Block a user