forked from GitHub/dbot
auto reload on setconfig [#489]
This commit is contained in:
parent
9927f7add3
commit
9093a69907
@ -42,7 +42,7 @@ var admin = function(dbot) {
|
|||||||
configPath[configKey[i]] = newOption;
|
configPath[configKey[i]] = newOption;
|
||||||
|
|
||||||
this.internalAPI.saveConfig();
|
this.internalAPI.saveConfig();
|
||||||
dbot.reloadConfig();
|
dbot.reloadModules();
|
||||||
callback(null, oldOption);
|
callback(null, oldOption);
|
||||||
}.bind(this),
|
}.bind(this),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user