removed stuff
This commit is contained in:
parent
26007a51c4
commit
8d3cbbdc3a
@ -487,11 +487,16 @@ void ServerConnection::send_voice_data(const void *buffer, size_t buffer_length,
|
||||
|
||||
if(head) /* head packet */
|
||||
packet->enable_flag(ts::protocol::PacketFlag::Compressed);
|
||||
|
||||
#ifdef FUZZ_VOICE
|
||||
if((rand() % 10) < 2) {
|
||||
log_info(category::connection, tr("Dropping voice packet"));
|
||||
} else {
|
||||
this->protocol_handler->send_packet(packet);
|
||||
}
|
||||
#else
|
||||
this->protocol_handler->send_packet(packet);
|
||||
#endif
|
||||
}
|
||||
|
||||
void ServerConnection::close_connection() {
|
||||
|
Loading…
Reference in New Issue
Block a user