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 {
|
if data.count == 0 {
|
||||||
return nil
|
return nil
|
||||||
} else {
|
} else {
|
||||||
arr.removeAtIndex(0)
|
if type == PacketType.EVENT || type == PacketType.BINARY_EVENT {
|
||||||
return arr
|
arr.removeAtIndex(0)
|
||||||
|
return arr
|
||||||
|
} else {
|
||||||
|
return arr
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user