fix getting args for ack and binary-ack
This commit is contained in:
parent
f0a45e13e2
commit
150e26aefd
@ -235,8 +235,12 @@ struct SocketPacket {
|
||||
if data.count == 0 {
|
||||
return nil
|
||||
} else {
|
||||
arr.removeAtIndex(0)
|
||||
return arr
|
||||
if type == PacketType.EVENT || type == PacketType.BINARY_EVENT {
|
||||
arr.removeAtIndex(0)
|
||||
return arr
|
||||
} else {
|
||||
return arr
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user