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:
parent
bcdca5d002
commit
8d3d5d08a5
@ -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]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user