diff --git a/docs/changelog.txt b/docs/changelog.txt index ad3f695..0367592 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -1,5 +1,9 @@ changelog +=== 0.9.5 Emergency Ejection + ++ Fix honk init user creation. + === 0.9.4 Collegiate Colloquialism + Add validation to some more user inputs to prevent mistakes. diff --git a/util.go b/util.go index 8bea50d..aee4ee7 100644 --- a/util.go +++ b/util.go @@ -114,12 +114,13 @@ func initdb() { prepareStatements(db) - err = createserveruser(db) + err = createuser(db, r) if err != nil { log.Print(err) return } - err = createuser(db, r) + // must came later or user above will have negative id + err = createserveruser(db) if err != nil { log.Print(err) return