fix a dumb search bug

This commit is contained in:
Ted Unangst 2019-10-17 21:59:17 -04:00
parent 7e4defffd9
commit 40ab30dee6
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ func gethonksbysearch(userid int64, q string) []*Honk {
withhonker = 1 withhonker = 1
continue continue
} }
if q[0] != '%' { if len(q) != 1 {
q += " " q += " "
} }
q += t q += t