allow resubscribing

This commit is contained in:
Ted Unangst 2020-03-08 12:51:49 -04:00
parent ea7122f0ea
commit cdefbb0512
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -1795,7 +1795,7 @@ func submithonker(w http.ResponseWriter, r *http.Request) {
if goodbye == "X" {
var owner string
db := opendatabase()
row := db.QueryRow("select xid, owner from honkers where honkerid = ? and userid = ? and flavor in ('unsub', 'peep', 'presub')",
row := db.QueryRow("select xid, owner from honkers where honkerid = ? and userid = ? and flavor in ('unsub', 'peep', 'presub, 'sub')",
honkerid, u.UserID)
err := row.Scan(&url, &owner)
if err != nil {