aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-28 13:53:56 -0800
committerFChannel <=>2021-01-28 13:53:56 -0800
commit3d480edaef645b91ee8d00733dccc59f7296df28 (patch)
tree162be87968f72ec5ae5431ed85f1f33b23b3be99 /client.go
parentee3c47a5b2251380ded1239b149fd1f6e6514bfb (diff)
reporting requires captcha
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index beddcad..e46ff8a 100644
--- a/client.go
+++ b/client.go
@@ -619,7 +619,7 @@ func GetLocalDeleteDB(db *sql.DB) []Removed {
return deleted
}
-func CreateLocalReportDB(db *sql.DB, id string, board string) {
+func CreateLocalReportDB(db *sql.DB, id string, board string, reason string) {
query := fmt.Sprintf("select id, count from reported where id='%s' and board='%s'", id, board)
rows, err := db.Query(query)