fix insertMsgPillageInc with v2
This commit is contained in:
parent
07a990a7cd
commit
4878e6205e
2
sql.go
2
sql.go
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user