typo
This commit is contained in:
parent
cceed5fe14
commit
2c707271ef
2
msg.go
2
msg.go
@ -102,7 +102,7 @@ func parseSubTypeMessageAlchStockAck(m *ChatWarsMessage, r *regexp.Regexp) (*Cha
|
|||||||
|
|
||||||
re := regexp.MustCompile(`\n\/aa_([0-9]{2}) ([a-zA-Z ']+) x (?[0-9]+)`)
|
re := regexp.MustCompile(`\n\/aa_([0-9]{2}) ([a-zA-Z ']+) x (?[0-9]+)`)
|
||||||
for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Stuff}"), -1) {
|
for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Stuff}"), -1) {
|
||||||
fmt.Printf("parseSubTypeMessageAlchStockAck : %+q\n", l)
|
log.Printf("parseSubTypeMessageAlchStockAck : %+q\n", l)
|
||||||
i := getObjItemID(l[1], ``)
|
i := getObjItemID(l[1], ``)
|
||||||
q, _ := strconv.ParseInt(l[3], 10, 64)
|
q, _ := strconv.ParseInt(l[3], 10, 64)
|
||||||
if i != 0 {
|
if i != 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user