diff --git a/server.py b/server.py index 53f631c..7275407 100644 --- a/server.py +++ b/server.py @@ -161,6 +161,7 @@ def session(connection, client, ip, ssl=False): connection.sendall(bytes(f":{server} NOTICE * :{reason}\r\n","UTF-8")) connection.sendall(bytes(f":{server} 465 * :You are banned from this server\r\n","UTF-8")) connection.sendall(bytes(f"ERROR :Closing Link: {hostname} (K-Lined)\r\n","UTF-8")) + time.sleep(3) raise Exception("Killed connection, IP is banned.") while True: try: