test
This commit is contained in:
parent
b7d466779a
commit
dcb1d64369
2
obj.go
2
obj.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user