From 584f1d9d0e0008ab90e33979d173ae5b859a082a Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 13 Dec 2024 13:37:52 -0800 Subject: [PATCH] Update server.py --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index 35439f5..043ef0b 100644 --- a/server.py +++ b/server.py @@ -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:]