link this.config to module config

This commit is contained in:
reality 2013-01-22 00:28:50 +00:00
parent 3b3aa280e0
commit 5443752a8b

2
run.js
View File

@ -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);