forked from GitHub/dbot
Fix [#186]
This commit is contained in:
parent
1673c8846b
commit
d246293202
2
run.js
2
run.js
@ -27,7 +27,7 @@ var DBot = function(timers) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Load config
|
// Load config
|
||||||
this.config = this.db.config;
|
this.config = _.clone(this.db.config);
|
||||||
try {
|
try {
|
||||||
_.defaults(this.config, JSON.parse(fs.readFileSync('config.json', 'utf-8')));
|
_.defaults(this.config, JSON.parse(fs.readFileSync('config.json', 'utf-8')));
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user