fix time parsing
This commit is contained in:
parent
c1ef937fc3
commit
32dd071efa
2
msg.go
2
msg.go
@ -440,7 +440,7 @@ func parseSubTypeMessageTimeAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWars
|
||||
cwm.Year, _ = strconv.ParseInt(r.ReplaceAllString(m.Text, "${Year}"), 10, 64)
|
||||
cwm.Weather = r.ReplaceAllString(m.Text, "${Weather}")
|
||||
cwm.WeatherNext = r.ReplaceAllString(m.Text, "${WeatherNext}")
|
||||
return cwm, nil
|
||||
return &cwm, nil
|
||||
}
|
||||
|
||||
func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageQuestResultAmbush, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user