Node.js based forum software built for the modern web
resolved race condition in plugin auto-enabling (not much of a race... I'd always lose!!)
Julian Lamd3b4cb71c0e6
diff --git a/src/install.js b/src/install.jsindex 21c273007e..75eb60b9aa 100644--- a/src/install.js+++ b/src/install.js@@ -156,8 +156,9 @@ var async = require('async'),async.each(defaultEnabled, function(pluginId, next) {Plugins.isActive(pluginId, function(err, active) {if (!active) {- Plugins.toggleActive(pluginId);- next();+ Plugins.toggleActive(pluginId, function() {+ next();+ });} else next();})}, next);