Don't post titles for things that don't have them.

configurable-file-paths
Robert Gerus 2015-11-19 23:40:55 +01:00
parent 9e5bac3e6f
commit 1c19411c22
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,10 @@ func linktitle(output chan irc.Message, msg irc.Message) {
}
if b {
r = append(r, getUrlTitle(s))
t := getUrlTitle(s)
if t != "no title" {
r = append(r, getUrlTitle(s))
}
}
}