From f705bb048bfef6b1b48455d3a15cff536a1835b8 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 18 Oct 2020 11:44:36 +0200 Subject: [PATCH] fix --- msg.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msg.go b/msg.go index ef3966b..2eb592e 100644 --- a/msg.go +++ b/msg.go @@ -483,9 +483,10 @@ 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) - cwm.Level = i + m.Level = 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) } return &cwm, nil