diff --git a/run.js b/run.js index 7f36b9b..8e08e42 100644 --- a/run.js +++ b/run.js @@ -164,17 +164,19 @@ DBot.prototype.reloadModules = function() { // Load the module config data var config = {}; try { - var config = JSON.parse(fs.readFileSync(moduleDir + 'config.json', 'utf-8')) - this.config[name] = config; - for(var i=0;i