Don't post titles for things that don't have them.
parent
9e5bac3e6f
commit
1c19411c22
|
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue