diff --git a/src/install.js b/src/install.js index fb100280c7..caafcbfacc 100644 --- a/src/install.js +++ b/src/install.js @@ -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');