This commit is contained in:
shoopea 2019-05-25 17:00:36 +08:00
parent b7d466779a
commit dcb1d64369

2
obj.go
View File

@ -432,7 +432,7 @@ func getObjUserID(s string) int64 {
if u, ok := cacheObjUser[s]; ok { if u, ok := cacheObjUser[s]; ok {
return u.ObjID64 return u.ObjID64
} else { } else {
objID64, err := addObjGuild(s, ``) objID64, err := addObjUser(s, ``)
logOnError(err, "getObjUserID") logOnError(err, "getObjUserID")
u := new(ChatWarsUser) u := new(ChatWarsUser)
u.ObjID64 = objID64 u.ObjID64 = objID64