3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

auto reload on setconfig [#489]

This commit is contained in:
reality 2013-06-05 22:59:37 +00:00
parent 9927f7add3
commit 9093a69907

View File

@ -42,7 +42,7 @@ var admin = function(dbot) {
configPath[configKey[i]] = newOption;
this.internalAPI.saveConfig();
dbot.reloadConfig();
dbot.reloadModules();
callback(null, oldOption);
}.bind(this),