From 08b8f93ce8446fd780e77cac3de62d4940a8aa6c Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 9 Dec 2024 13:57:21 -0800 Subject: [PATCH] Update server.py --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index d4038f6..569f065 100644 --- a/server.py +++ b/server.py @@ -62,6 +62,7 @@ def session(connection, client): pass if command == "NICK": pending = text.split(" ")[1] + if pending[0] == ":": pednding[1:] if pending in nickname_list: connection.sendall(bytes(f":{server} 433 * {pending} :Nickname is already in use.\r\n","UTF-8")) pending = "*"