This commit is contained in:
reality 2013-01-21 17:55:12 +00:00
parent 1673c8846b
commit d246293202

2
run.js
View File

@ -27,7 +27,7 @@ var DBot = function(timers) {
}
// Load config
this.config = this.db.config;
this.config = _.clone(this.db.config);
try {
_.defaults(this.config, JSON.parse(fs.readFileSync('config.json', 'utf-8')));
} catch(err) {