diff --git a/sql.go b/sql.go index ce776e4..ac5541a 100644 --- a/sql.go +++ b/sql.go @@ -784,7 +784,7 @@ func insertMsgPillageInc(m *ChatWarsMessagePillageInc) error { if err != nil { return err } - if objSubTypeId != cacheObjSubType[`msg`] && objSubTypeId != cacheObjSubType[`msg_pillage_inc`] { + if objSubTypeId != cacheObjSubType[`msg`] && objSubTypeId != cacheObjSubType[`msg_pillage_inc`] && objSubTypeId != cacheObjSubType[`msg_pillage_inc2`] { return errors.New("Message type mismatch") }