fix ~help module thing

This commit is contained in:
reality 2013-06-27 18:28:35 +00:00
parent 7e2b717d0a
commit dd64b5955a

View File

@ -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