From 02e020ff76501c917463475c1c851716756173c6 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 29 Jan 2025 20:04:17 -0800 Subject: [PATCH] Update server.py --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 772f1d7..cf6021e 100644 --- a/server.py +++ b/server.py @@ -717,6 +717,7 @@ def session(connection, client, ip, isssl=False): # Unknown command cmd = text.split(" ")[0] connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8")) + pendingCommands = [] else: pendingCommands.append(text) except ssl.SSLEOFError: