check for the dreaded double bonk

Ted Unangst 5 years ago
parent 8d6d95234d
commit a591781222

@ -972,6 +972,9 @@ func submitbonk(w http.ResponseWriter, r *http.Request) {
if !xonk.Public {
return
}
if xonk.IsBonked() {
return
}
donksforhonks([]*Honk{xonk})
_, err := stmtUpdateFlags.Exec(flagIsBonked, xonk.ID)

Loading…
Cancel
Save