This small patch fixes client crashes for some IRCv3 supported clients like Revolution IRC
This commit is contained in:
Nova Cat 2024-12-15 05:10:05 -08:00
parent e7e69c81c3
commit f219cebde6

View file

@ -131,7 +131,7 @@ def session(connection, client):
ready = True ready = True
elif command == "CAP": elif command == "CAP":
if args[0] == "LS": if args[0] == "LS":
connection.sendall(bytes(f":{server} CAP * LS :\r\n", "UTF-8")) connection.sendall(bytes(f":{server} CAP * LS :ircat.xyz/foo\r\n", "UTF-8"))
elif (ready and already_set) and not finished: elif (ready and already_set) and not finished:
print(f"User {pending} successfully logged in.") print(f"User {pending} successfully logged in.")
nickname_list[pending] = connection nickname_list[pending] = connection