From 97907603f57f894986780bffe9db8b17b408e8ce Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 5 Jun 2013 21:14:21 +0000 Subject: [PATCH] automatically save module load changes [#489] --- modules/admin/admin.js | 6 +++++- modules/admin/commands.js | 7 +++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/admin/admin.js b/modules/admin/admin.js index 72a3c03..9f45f13 100644 --- a/modules/admin/admin.js +++ b/modules/admin/admin.js @@ -25,7 +25,7 @@ var admin = function(dbot) { }, 'setConfig': function(configKey, newOption, callback) { - var configPath = dbot.config; + var configPath = dbot.customConfig; configKey = configKey.split('.'); for(var i=0;i