test war report
This commit is contained in:
parent
e05232e4c9
commit
84dae082fe
2
msg.go
2
msg.go
@ -177,8 +177,10 @@ func parseSubTypeMessageReportAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWa
|
||||
cwm := ChatWarsMessageReportAck{}
|
||||
re := regexp.MustCompile(`([.^\n]*)\n`)
|
||||
for i, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Extra}"), -1) {
|
||||
if len(l[1]) > 0 {
|
||||
log.Printf("parseSubTypeMessageReport : Extra[%d] : %d => %s\n", i, len(l[1]), l[1])
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
log.Printf("parseSubTypeMessageReport : War report identified\n")
|
||||
|
Loading…
Reference in New Issue
Block a user