This commit is contained in:
shoopea 2020-02-03 14:52:21 +08:00
parent cdcb9b87d9
commit 39c575676f

2
msg.go
View File

@ -291,7 +291,7 @@ func parseSubTypeMessageTributesStatsAck(m *ChatWarsMessage, r *regexp.Regexp) (
logOnError(err, "parseSubTypeMessageTributesStatsAck : ParseInt") logOnError(err, "parseSubTypeMessageTributesStatsAck : ParseInt")
tribute.Exp, err = strconv.ParseInt(re.ReplaceAllString(l[0], "${Exp}"), 10, 64) tribute.Exp, err = strconv.ParseInt(re.ReplaceAllString(l[0], "${Exp}"), 10, 64)
logOnError(err, "parseSubTypeMessageTributesStatsAck : ParseInt") logOnError(err, "parseSubTypeMessageTributesStatsAck : ParseInt")
cwm.Tributes = append(tributes, tribute) tributes = append(tributes, tribute)
} }
cwm.Tributes = tributes cwm.Tributes = tributes