mirror of https://github.com/velour/catbase.git
Fixing user assignment bug
This commit is contained in:
parent
d7389dfc5d
commit
449b9ca499
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue