Update server.py

This commit is contained in:
Nova Cat 2024-12-13 13:37:52 -08:00
parent 7b931e8dd1
commit 584f1d9d0e

View file

@ -189,6 +189,8 @@ def session(connection, client):
elif command == "NICK":
if len(args) == 0:
connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8"))
elif text.split(" ")[1] == pending:
pass
else:
pending2 = text.split(" ")[1]
if pending2[0] == ":": pending2[1:]