check for the dreaded double bonk
This commit is contained in:
parent
40fb10d25a
commit
7eee7d7600
1 changed files with 3 additions and 0 deletions
3
web.go
3
web.go
|
@ -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…
Reference in a new issue