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),