From dd64b5955aaae0d17946c6264af4211bd7d007bd Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 27 Jun 2013 18:28:35 +0000 Subject: [PATCH] fix ~help module thing --- modules/command/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/command/commands.js b/modules/command/commands.js index 5bf355b..6fe31f8 100644 --- a/modules/command/commands.js +++ b/modules/command/commands.js @@ -48,8 +48,8 @@ var commands = function(dbot) { } else { var helpLink = dbot.config.repoRoot + 'blob/master/modules/' + moduleName + '/README.md'; - if(dbot.config[moduleName].help) { - helpLink = dbot.config[moduleName].help; + if(dbot.config.modules[moduleName].help) { + helpLink = dbot.config.modules[moduleName].help; } // TODO: Check it exists