Fixing user assignment bug

This commit is contained in:
Chris Sexton 2013-09-02 13:38:27 -04:00
parent d7389dfc5d
commit 449b9ca499
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func (b *Bot) GetUser(nick string) *User {
coll.Insert(user) coll.Insert(user)
} else { } else {
log.Printf("Error: %s appears to have more than one user?\n", nick) log.Printf("Error: %s appears to have more than one user?\n", nick)
query.One(user) query.One(&user)
} }
// grab linked user, if any // grab linked user, if any