fix
This commit is contained in:
parent
1134f4c090
commit
d947c3b2e4
2
msg.go
2
msg.go
@ -222,6 +222,7 @@ func parseSubTypeMessageAuctionAnnounce(m *ChatWarsMessage, r *regexp.Regexp) (*
|
|||||||
func parseSubTypeMessageWithdrawRcv(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageWithdrawRcv, error) {
|
func parseSubTypeMessageWithdrawRcv(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageWithdrawRcv, error) {
|
||||||
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])
|
||||||
@ -234,6 +235,7 @@ func parseSubTypeMessageWithdrawRcv(m *ChatWarsMessage, r *regexp.Regexp) (*Chat
|
|||||||
items = append(items, item)
|
items = append(items, item)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
cwm.ItemList = items
|
cwm.ItemList = items
|
||||||
return &cwm, nil
|
return &cwm, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user