fix compilation

This commit is contained in:
shoopea 2019-08-27 13:00:50 +08:00
parent dbd569d842
commit 3954526cb7

2
job.go
View File

@ -819,7 +819,7 @@ func jobGDeposit(j Job) {
if cwm.Stock[i].ItemID64 == p.ResObjID64[j] { if cwm.Stock[i].ItemID64 == p.ResObjID64[j] {
log.Printf("jobGDeposit : objSubTypeMessageStockAck : Matching ItemID %d (%d).\n", p.ResObjID64[j], cwm.Stock[i].Quantity) log.Printf("jobGDeposit : objSubTypeMessageStockAck : Matching ItemID %d (%d).\n", p.ResObjID64[j], cwm.Stock[i].Quantity)
item, _ := getObjItem(p.ResObjID64[j]) item, _ := getObjItem(p.ResObjID64[j])
clientSendCWMsgDelay(p.ChatID64, fmt.Sprintf("/g_deposit %s 0", item.Code)) clientSendCWMsg(p.ChatID64, fmt.Sprintf("/g_deposit %s 0", item.Code))
} }
} }
} }