diff --git a/msg.go b/msg.go index 2eb592e..07844ef 100644 --- a/msg.go +++ b/msg.go @@ -483,7 +483,7 @@ func parseSubTypeMessageGListAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWar m.Class2 = re.ReplaceAllString(l, "${Class2}") m.Status = re.ReplaceAllString(l, "${Status}") i, _ := strconv.ParseInt(r.ReplaceAllString(l, "${Level}"), 10, 64) - m.Level = i + m.Level = int(i) log.Printf("parseSubTypeMessageGListAck : %s : %s/%s [%d] => %s\n", m.Name, m.Class1, m.Class2, m.Level, m.Status) //log.Printf("parseSubTypeMessageGListAck : %s\n", l) cwm.Members = append(cwm.Members, m)