Update server.py

This commit is contained in:
Nova Cat 2024-12-09 10:20:29 -08:00
parent 01f04427ef
commit 92b053b024

View file

@ -164,7 +164,8 @@ def session(connection, client):
connection.close()
break
elif text.split(" ")[0] == "":
pass
else:
cmd = text.split(" ")[0]
connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8"))