typo
This commit is contained in:
parent
cd38dc3933
commit
9f155669ae
2
msg.go
2
msg.go
@ -223,7 +223,7 @@ func parseSubTypeMessageWithdrawRcv(m *ChatWarsMessage, r *regexp.Regexp) (*Chat
|
|||||||
cwm := ChatWarsMessageWithdrawRcv{}
|
cwm := ChatWarsMessageWithdrawRcv{}
|
||||||
items := []ChatWarsItems{}
|
items := []ChatWarsItems{}
|
||||||
re := regexp.MustCompile(`(.*) x (.*)`)
|
re := regexp.MustCompile(`(.*) x (.*)`)
|
||||||
for _, l := range re.FindAllStringSubmatch(m.Text), -1) {
|
for _, l := range re.FindAllStringSubmatch(m.Text, -1) {
|
||||||
i := getObjItemID(``, l[1])
|
i := getObjItemID(``, l[1])
|
||||||
q, _ := strconv.ParseInt(l[2], 10, 64)
|
q, _ := strconv.ParseInt(l[2], 10, 64)
|
||||||
if i != 0 {
|
if i != 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user