mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
chore: 将exchange_emp的错误码塞在error中
This commit is contained in:
parent
ed979508cf
commit
b929afd424
@ -204,8 +204,7 @@ func decodeExchangeEmpResponse(c *QQClient, _ *incomingPacketInfo, payload []byt
|
|||||||
reader.ReadUInt16()
|
reader.ReadUInt16()
|
||||||
m := reader.ReadTlvMap(2)
|
m := reader.ReadTlvMap(2)
|
||||||
if t != 0 {
|
if t != 0 {
|
||||||
c.Error("exchange_emp error: %v", t)
|
return nil, errors.Errorf("exchange_emp failed: %v", t)
|
||||||
return nil, errors.New("exchange_emp failed")
|
|
||||||
}
|
}
|
||||||
if cmd == 15 {
|
if cmd == 15 {
|
||||||
c.decodeT119R(m[0x119])
|
c.decodeT119R(m[0x119])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user