This commit is contained in:
shoopea 2019-05-11 19:26:48 +08:00
parent 4f93acedb2
commit 76edb8c53d

View File

@ -102,7 +102,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
t, err := time.Parse("02/01/06 15:04", r.ReplaceAllString(m.Text, "${Time}"))
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : objSubTypeMessageMiniWar parsing time : "+r.ReplaceAllString(m.Text, "${Time}"))
cwm := ChatWarsMessageMiniWar{
Time: t,
Time: t,
Report: make(map[string]ChatWarsMessageMiniWarCastle),
}
g, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Gold1}"))
s, err := strconv.Atoi(r.ReplaceAllString(m.Text, "${Stock1}"))