From acdea1a04566ddf31ca873d6d173dd1bda133a4b Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 25 Jan 2025 21:20:27 -0800 Subject: [PATCH] Update server.py --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index 71cf03a..3d307fd 100644 --- a/server.py +++ b/server.py @@ -257,6 +257,8 @@ def session(connection, client, ip, isssl=False): connection.sendall(bytes(f":{server} NOTICE * :*** Got ident! {responseee}\r\n","UTF-8")) clident = responseee rident = responseee + except: + connection.sendall(bytes(f":{server} NOTICE * :*** Uhm, Couldn't find your ident: Unknown error.\r\n","UTF-8")) while True: try: data = connection.recv(2048)