test
This commit is contained in:
parent
bd842800f9
commit
1fb56a1787
3
obj.go
3
obj.go
@ -243,7 +243,8 @@ func getObjGuildID(s string) int64 {
|
|||||||
if g, ok := cacheObjGuild[s]; ok {
|
if g, ok := cacheObjGuild[s]; ok {
|
||||||
return g.ObjID64
|
return g.ObjID64
|
||||||
} else {
|
} else {
|
||||||
addObjGuild(s, ``)
|
_, err := addObjGuild(s, ``)
|
||||||
|
logOnError(err, "getObjGuildID")
|
||||||
loadObjGuild()
|
loadObjGuild()
|
||||||
}
|
}
|
||||||
return cacheObjGuild[s].ObjID64
|
return cacheObjGuild[s].ObjID64
|
||||||
|
Loading…
Reference in New Issue
Block a user