mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
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;
|
||||
|
||||
this.internalAPI.saveConfig();
|
||||
dbot.reloadConfig();
|
||||
dbot.reloadModules();
|
||||
callback(null, oldOption);
|
||||
}.bind(this),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user