From 5443752a8b26a7ddc1b0a0842d3c5eb68eaddadf Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 22 Jan 2013 00:28:50 +0000 Subject: [PATCH] link this.config to module config --- run.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run.js b/run.js index 6c782c8..9ace45c 100644 --- a/run.js +++ b/run.js @@ -201,6 +201,8 @@ DBot.prototype.reloadModules = function() { } }, this); + module.config = this.config[name]; + // Load the module itself var rawModule = require(moduleDir + name); var module = rawModule.fetch(this);