typo insert msg shop main ack

This commit is contained in:
shoopea 2020-02-06 16:56:41 +08:00
parent 3e048a2777
commit 41744803e6

2
sql.go
View File

@ -741,7 +741,7 @@ func insertMsgShopMainAck(m *ChatWarsMessageShopMainAck) error {
open = 0
}
_, err = stmt.Exec(m.Msg.ID64, m.Name, m.ShopNumber, m.User, m.Mana, m.ManaTotal, m.Class, m.CastleID64, m.Fees, open)
_, err = stmt.Exec(m.Msg.ObjID64, m.Name, m.ShopNumber, m.User, m.Mana, m.ManaTotal, m.Class, m.CastleID64, m.Fees, open)
logOnError(err, "insertMsgShopMainAck Exec")
return nil