This commit is contained in:
shoopea 2019-05-25 15:49:34 +08:00
parent bd842800f9
commit 1fb56a1787

3
obj.go
View File

@ -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