3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

Update modules/link/link.js

indent fix test
This commit is contained in:
Daniel Dowling 2013-01-30 17:23:53 +00:00
parent bcdca5d002
commit 8d3d5d08a5

View File

@ -88,7 +88,6 @@ var link = function(dbot) {
var urlMatches = event.message.match(this.urlRegex); var urlMatches = event.message.match(this.urlRegex);
if(urlMatches !== null) { if(urlMatches !== null) {
this.links[event.channel.name] = urlMatches[0]; this.links[event.channel.name] = urlMatches[0];
if(dbot.config.link.autoTitle == true) { if(dbot.config.link.autoTitle == true) {
this.fetchTitle(event, urlMatches[0]); this.fetchTitle(event, urlMatches[0]);
} }