Trim CTCP characters.

master
Robert Gerus 2015-12-18 12:55:32 +01:00
parent 7ba047bd51
commit 36905d2596
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func getURLTitle(l string) string {
func linktitle(output func(irc.Message), msg irc.Message) {
var r []string
for _, s := range strings.Split(msg.Trailing, " ") {
for _, s := range strings.Split(strings.Trim(msg.Trailing, "\001"), " ") {
if s == "notitle" {
return
}