Update server.py

This commit is contained in:
Nova Cat 2024-12-09 13:33:26 -08:00
parent 776e5e4355
commit 14120d3957

View file

@ -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"))