From f219cebde66add755871367ca084bda02377543a Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 15 Dec 2024 05:10:05 -0800 Subject: [PATCH] Patch This small patch fixes client crashes for some IRCv3 supported clients like Revolution IRC --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 043ef0b..176c43b 100644 --- a/server.py +++ b/server.py @@ -131,7 +131,7 @@ def session(connection, client): ready = True elif command == "CAP": 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: print(f"User {pending} successfully logged in.") nickname_list[pending] = connection