From 1fb1389e5736ee9733600ddeef811d59ef62ba29 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 15 Dec 2024 19:08:18 -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 fa13c51..6011b1f 100644 --- a/server.py +++ b/server.py @@ -92,6 +92,7 @@ def pinger(nick, connection): connection.close() break def session(connection, client): + global property_list pending = "*" # The nickname of the client already_set = False # If the client gave the server a NICK packet ready = False # If the client gave the server a USER packet @@ -283,7 +284,6 @@ def session(connection, client): if len(args) == 0: connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8")) else: - global property_list channel = text.split(" ")[1] if channel in channels_list: for i in channels_list[channel]: