diff --git a/sql.go b/sql.go index 9d48639..547ec59 100644 --- a/sql.go +++ b/sql.go @@ -1271,7 +1271,7 @@ func insertMsgReport(objId int64, war_date int32, atk int32, def int32, exp int3 } func insertMsgAuctionAnnounce(m *ChatWarsMessageAuctionAnnounce) error { - objSubTypeId, err := getObjSubTypeId(objId) + objSubTypeId, err := getObjSubTypeId(m.ID64) if err != nil { return err }