3
0
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:
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; configPath[configKey[i]] = newOption;
this.internalAPI.saveConfig(); this.internalAPI.saveConfig();
dbot.reloadConfig(); dbot.reloadModules();
callback(null, oldOption); callback(null, oldOption);
}.bind(this), }.bind(this),