diff --git a/modules/admin/admin.js b/modules/admin/admin.js index 77e7668..25768a9 100644 --- a/modules/admin/admin.js +++ b/modules/admin/admin.js @@ -22,6 +22,19 @@ var admin = function(dbot) { } callback(configPath); + }, + + 'setConfig': function(configKey, newOption, callback) { + var configPath = dbot.config; + configKey = configKey.split('.'); + + for(var i=0;i