From c061109b55d2bdbb9c5f20aa1d43037815bfc83d Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 21 Jan 2013 19:01:53 +0000 Subject: [PATCH] [#186] fix for modules too --- run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.js b/run.js index 6102988..6c782c8 100644 --- a/run.js +++ b/run.js @@ -168,7 +168,7 @@ DBot.prototype.reloadModules = function() { var config = {}; if(_.has(this.db.config, name)) { - config = this.db.config[name]; + config = _.clone(this.db.config[name]); } try {