diff --git a/server.py b/server.py index 9c0e258..8b347eb 100644 --- a/server.py +++ b/server.py @@ -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"))