From 664987d1afaf0af77c2859c406a7045a4dd48616 Mon Sep 17 00:00:00 2001 From: swee Date: Thu, 12 Dec 2024 13:22:59 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index df796ab..9720215 100644 --- a/server.py +++ b/server.py @@ -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: