From 67375498db26dd61baee343882027b085166b86e Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Sun, 27 Jul 2025 21:47:08 -0400 Subject: [PATCH] don't throttle critical traffic Fixes: https://todo.amehut.dev/~aleteoryx/sexchat/16 --- src/common/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/server.c b/src/common/server.c index 8d6d017039954067a6aa24dc8511e536afa3efa6..0ac2d086ae3bd32a256afc926ff58e9fe72a7073 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -183,7 +183,7 @@ tcp_send_len (server *serv, char *buf, int len) char *dbuf; int noqueue = !serv->outbound_queue; - if (!prefs.hex_net_throttle) + if (!prefs.hex_net_throttle || !serv->end_of_motd || g_ascii_strncasecmp (buf, "PONG", 4) == 0) return server_send_real (serv, buf, len); dbuf = g_malloc (len + 2); /* first byte is the priority */