all repos — honk @ bbc866ba103f3bef350ac324e7c90f4da7b6af6f

my fork of honk

m
Ted Unangst tedu@tedunangst.com
Mon, 06 Mar 2023 17:46:50 -0500
commit

bbc866ba103f3bef350ac324e7c90f4da7b6af6f

parent

1b0688fba32f3c2f06a266133fcd67eef493853a

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M honk.gohonk.go

@@ -380,14 +380,14 @@ return

} user, err := butwhatabout(args[1]) if err != nil { - fmt.Printf("user not found") + fmt.Printf("user not found\n") return } var meta HonkerMeta mj, _ := jsonify(&meta) honkerid, err := savehonker(user, args[2], "", "presub", "", mj) if err != nil { - fmt.Printf("had some trouble with that: %s", err) + fmt.Printf("had some trouble with that: %s\n", err) return } followyou(user, honkerid, true)

@@ -398,14 +398,14 @@ return

} user, err := butwhatabout(args[1]) if err != nil { - fmt.Printf("user not found") + fmt.Printf("user not found\n") return } - row := db.QueryRow("select honkerid from honkers where xid = ? and userid = ?", args[2], user.ID) + row := db.QueryRow("select honkerid from honkers where xid = ? and userid = ? and flavor in ('sub')", args[2], user.ID) var honkerid int64 err = row.Scan(&honkerid) if err != nil { - fmt.Printf("sorry couldn't find them") + fmt.Printf("sorry couldn't find them\n") return } unfollowyou(user, honkerid, true)