From 6fc3e9d640d263052a351f04d999a0a035e8303b Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Mon, 9 Dec 2024 17:29:46 -0800 Subject: [PATCH] connection --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 23641f6..691582c 100644 --- a/server.py +++ b/server.py @@ -234,7 +234,7 @@ def session(connection, client): connection.sendall(bytes(f":{pending}!~{username}@{hostname} {text}\r\n","UTF-8")) connection.sendall(bytes(f"ERROR :Closing Link: {hostname} ({msg})\r\n","UTF-8")) except: - pass + break connection.close() safe_quit = True break