From 539372a3a6815bc8f847ac58a641d9ca55e47452 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 18 Oct 2020 11:45:15 +0200 Subject: [PATCH] test --- msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)