Updated the config and fixed stuff
This commit is contained in:
@@ -43,7 +43,10 @@ void VoiceClient::handlePacketCommand(const pipes::buffer_view& command_string)
|
||||
}
|
||||
|
||||
void VoiceClient::handlePacketPing(const protocol::IncomingClientPacketParser& packet) {
|
||||
(void) packet.payload().length();
|
||||
if (packet.type() == protocol::PONG) {
|
||||
if(packet.payload_length() < 2) return;
|
||||
|
||||
uint16_t id = be2le16((char*) packet.payload().data_ptr());
|
||||
if (this->lastPingId == id) {
|
||||
#ifdef PKT_LOG_PING
|
||||
|
||||
Reference in New Issue
Block a user