Remove drunk dev comments xd

This commit is contained in:
ChillerDragon 2024-06-24 16:15:09 +08:00
parent fc4a3becde
commit 8acb893165

View file

@ -12,20 +12,6 @@ import (
// low level access for experts
// ----------------------------
// flish()boo {
//
// ifhf lenesusue
// packte:=}{}
// SendPkacte8)
//
// }
//
// if now > lastsnend d+9191 {
// if !flush() {
// keepalive
// }
// }A
func (client *Client) SendPacket(packet *protocol7.Packet) error {
if packet.Header.Flags.Resend == false && len(packet.Messages) == 0 && len(client.QueuedMessages) == 0 {
return fmt.Errorf("Failed to send packet: payload is empty.")