Update server.py
All checks were successful
/ check (push) Successful in 12s

This commit is contained in:
Nova Cat 2025-01-29 20:04:17 -08:00
parent 2ed7ec5de1
commit 02e020ff76

View file

@ -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: