Recent activity

Re: [PATCH] Fix store user query values 2 months ago

From Dan Shick to ~emersion/soju-dev

No problem.

[PATCH] Fix store user query values 2 months ago

From Dan Shick to ~emersion/soju-dev

---
 db.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/db.go b/db.go
index 54d80a9..46d04df 100644
--- a/db.go
+++ b/db.go
@@ -240,7 +240,7 @@ func (db *DB) StoreUser(user *User) error {
			password, user.Admin, user.Username)
	} else {
		var res sql.Result
		res, err = db.db.Exec("INSERT INTO User(username, password, admin) VALUES (?, ?, ?, ?)",
		res, err = db.db.Exec("INSERT INTO User(username, password, admin) VALUES (?, ?, ?)",
[message trimmed]