the original should be the original original where possible

This commit is contained in:
Ted Unangst 2019-05-20 18:30:29 -04:00
parent ee6ec4896e
commit a11ab06762
1 changed files with 5 additions and 1 deletions

View File

@ -720,11 +720,15 @@ func savebonk(w http.ResponseWriter, r *http.Request) {
Audience: []string{thewholeworld},
}
oonker := xonk.Oonker
if oonker == "" {
oonker = xonk.Honker
}
aud := strings.Join(bonk.Audience, " ")
whofore := 2
res, err := stmtSaveHonk.Exec(userinfo.UserID, "bonk", bonk.Honker, xid, "",
dt.Format(dbtimeformat), "", aud, xonk.Noise, xonk.Convoy, whofore, "html",
xonk.Precis, xonk.Honker)
xonk.Precis, oonker)
if err != nil {
log.Printf("error saving bonk: %s", err)
return