change version to param

This commit is contained in:
HynoR 2024-02-01 10:37:42 +08:00
parent 5f12e68a9f
commit c55aaa5502

View File

@ -73,7 +73,7 @@ func parseOICQMessage(data []byte) analyzer.PropMap {
"seq": binary.BigEndian.Uint16(data[4:6]), "seq": binary.BigEndian.Uint16(data[4:6]),
"number": 0, "number": 0,
} }
data = data[4:] data = data[6:]
if len(data) < 5 { if len(data) < 5 {
// Valid OICQ packet, but no Number field // Valid OICQ packet, but no Number field
return m return m