check for the dreaded double bonk

master
Ted Unangst 5 years ago
parent 40fb10d25a
commit 7eee7d7600

@ -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