From 9093a699075e86758871e08016a5cb545f259239 Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 5 Jun 2013 22:59:37 +0000 Subject: [PATCH] auto reload on setconfig [#489] --- modules/admin/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),