This commit is contained in:
shoopea 2020-06-27 11:41:38 +02:00
parent 8e5215b1b4
commit 22c8b0b452

1
msg.go
View File

@ -630,6 +630,7 @@ func parseSubTypeMessageTimeAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWars
cwm.Year, _ = strconv.ParseInt(r.ReplaceAllString(m.Text, "${Year}"), 10, 64) cwm.Year, _ = strconv.ParseInt(r.ReplaceAllString(m.Text, "${Year}"), 10, 64)
cwm.Weather = r.ReplaceAllString(m.Text, "${Weather}") cwm.Weather = r.ReplaceAllString(m.Text, "${Weather}")
cwm.WeatherNext = r.ReplaceAllString(m.Text, "${WeatherNext}") cwm.WeatherNext = r.ReplaceAllString(m.Text, "${WeatherNext}")
log.Printf("parseSubTypeMessageTimeAck : %v", cwm.RealTime)
return &cwm, nil return &cwm, nil
} }