From 14120d39572cc2f8a1aa8b8c44dc02cd8bf4f429 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 9 Dec 2024 13:33:26 -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 7b8daa2..418e555 100644 --- a/server.py +++ b/server.py @@ -73,7 +73,7 @@ def session(connection, client): username = text.split(" ")[1] ready = True elif command == "CAP": - if args[0] == "LS" + if args[0] == "LS": connection.sendall(bytes(f":{server} CAP * LS :away-notify", "UTF-8")) elif (ready and already_set) and not finished: connection.sendall(bytes(f":{server} 001 {pending} :Welcome to the {displayname} Internet Relay Chat Network {pending}\r\n", "UTF-8"))