fix insertMsgPillageInc with v2

This commit is contained in:
shoopea 2020-02-06 18:27:53 +08:00
parent 07a990a7cd
commit 4878e6205e

2
sql.go
View File

@ -784,7 +784,7 @@ func insertMsgPillageInc(m *ChatWarsMessagePillageInc) error {
if err != nil { if err != nil {
return err 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") return errors.New("Message type mismatch")
} }