This commit is contained in:
@@ -56,8 +56,7 @@ func (s *InfoService) Reg(nick string, color uint32) *model.PlayerInfo {
|
||||
}
|
||||
|
||||
func (s *InfoService) Person(userid uint32) (out *model.Player) {
|
||||
|
||||
s.dbm_fix(s.Model).Scan(&out)
|
||||
cool.DBM(s.Model).Where("player_id", userid).Scan(&out)
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user