check for the dreaded double bonk
This commit is contained in:
parent
40fb10d25a
commit
7eee7d7600
3
web.go
3
web.go
|
@ -972,6 +972,9 @@ func submitbonk(w http.ResponseWriter, r *http.Request) {
|
||||||
if !xonk.Public {
|
if !xonk.Public {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if xonk.IsBonked() {
|
||||||
|
return
|
||||||
|
}
|
||||||
donksforhonks([]*Honk{xonk})
|
donksforhonks([]*Honk{xonk})
|
||||||
|
|
||||||
_, err := stmtUpdateFlags.Exec(flagIsBonked, xonk.ID)
|
_, err := stmtUpdateFlags.Exec(flagIsBonked, xonk.ID)
|
||||||
|
|
Loading…
Reference in New Issue