diff --git a/modules/admin/admin.js b/modules/admin/admin.js index 113cb0d..74e4af7 100644 --- a/modules/admin/admin.js +++ b/modules/admin/admin.js @@ -42,7 +42,7 @@ var admin = function(dbot) { configPath[configKey[i]] = newOption; this.internalAPI.saveConfig(); - dbot.reloadConfig(); + dbot.reloadModules(); callback(null, oldOption); }.bind(this),