From 449b9ca49999bcf959d99a7e58a79c634d86ea42 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Mon, 2 Sep 2013 13:38:27 -0400 Subject: [PATCH] Fixing user assignment bug --- bot/users.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/users.go b/bot/users.go index 4ad3ca5..8982f7e 100644 --- a/bot/users.go +++ b/bot/users.go @@ -53,7 +53,7 @@ func (b *Bot) GetUser(nick string) *User { coll.Insert(user) } else { log.Printf("Error: %s appears to have more than one user?\n", nick) - query.One(user) + query.One(&user) } // grab linked user, if any