allow resubscribing
This commit is contained in:
parent
ea7122f0ea
commit
cdefbb0512
1 changed files with 1 additions and 1 deletions
2
web.go
2
web.go
|
|
@ -1795,7 +1795,7 @@ func submithonker(w http.ResponseWriter, r *http.Request) {
|
||||||
if goodbye == "X" {
|
if goodbye == "X" {
|
||||||
var owner string
|
var owner string
|
||||||
db := opendatabase()
|
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)
|
honkerid, u.UserID)
|
||||||
err := row.Scan(&url, &owner)
|
err := row.Scan(&url, &owner)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue