upd
This commit is contained in:
parent
52ff68fb1f
commit
daa659e7a4
8
obj.go
8
obj.go
@ -29,28 +29,36 @@ var (
|
||||
func initCache() {
|
||||
var err error
|
||||
|
||||
log.Println("Caching obj_type ..")
|
||||
err = loadObjType()
|
||||
logOnError(err, "initCache : caching obj_type")
|
||||
|
||||
log.Println("Caching obj_sub_type ..")
|
||||
err = loadObjSubType()
|
||||
logOnError(err, "initCache : caching obj_sub_type")
|
||||
|
||||
log.Println("Filling message parsing rules...")
|
||||
resetMsgParsingRules()
|
||||
msgParsingRules, err = loadMsgParsingRules()
|
||||
logOnError(err, "initCache : message parsing rules")
|
||||
|
||||
log.Println("Caching castles ..")
|
||||
err = loadObjCastle()
|
||||
logOnError(err, "initCache : caching castles")
|
||||
|
||||
log.Println("Caching guilds ..")
|
||||
err = loadObjGuild()
|
||||
logOnError(err, "initCache : caching guilds")
|
||||
|
||||
log.Println("Caching users ..")
|
||||
err = loadObjUser()
|
||||
logOnError(err, "initCache : caching user")
|
||||
|
||||
log.Println("Caching items ..")
|
||||
err = loadObjItem()
|
||||
logOnError(err, "initCache : caching items")
|
||||
|
||||
log.Println("Caching messages ..")
|
||||
err = loadObjMsg()
|
||||
logOnError(err, "initCache : caching msgs")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user