From b77644d1d42c18f71aa4c8be305ccabb2da8c64d Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 4 Jun 2013 00:10:12 +0000 Subject: [PATCH] Fixes for config path in some place [#489] --- modules/link/link.js | 2 +- run.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/link/link.js b/modules/link/link.js index 9d24134..4d27ef9 100644 --- a/modules/link/link.js +++ b/modules/link/link.js @@ -126,7 +126,7 @@ var link = function(dbot) { var urlMatches = event.message.match(this.urlRegex); if(urlMatches !== null) { this.links[event.channel.name] = urlMatches[0]; - if(dbot.config.link.autoTitle == true) { + if(this.config.autoTitle == true) { var handlerFound = false; for(var i=0;i