Update server.py

This commit is contained in:
Nova Cat 2024-12-12 13:22:59 -08:00
parent 9e7f44374a
commit 664987d1af

View file

@ -183,7 +183,7 @@ def session(connection, client):
print(pending + " replied to PING.")
property_list[pending]["last_ping"] = time.time()
property_list[pending]["ping_pending"] = False
if command == "NICK":
elif command == "NICK":
if len(args) == 0:
connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8"))
else: