diff --git a/client/network.go b/client/network.go index bc310abd..98a514b2 100644 --- a/client/network.go +++ b/client/network.go @@ -229,7 +229,7 @@ func (c *QQClient) netLoop() { info, ok := c.handlers.LoadAndDelete(pkt.SequenceId) var decoded interface{} decoded = pkt.Payload - if info != nil && !info.dynamic { + if info == nil || !info.dynamic { decoded, err = decoder(c, &incomingPacketInfo{ SequenceId: pkt.SequenceId, CommandName: pkt.CommandName,