From 7ee1db64c7086527580c4d05573aeea551f7a86b Mon Sep 17 00:00:00 2001 From: swee Date: Fri, 3 Jan 2025 16:46:26 -0800 Subject: [PATCH] Update server.py --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index 0e53596..bd6285e 100644 --- a/server.py +++ b/server.py @@ -153,6 +153,8 @@ def session(connection, client, ip, ssl=False): except: hostname = client[0] connection.sendall(bytes(f":{server} NOTICE * :*** Oof! Can't find your hostname, using IP...\r\n","UTF-8")) + updateklines() + global banlist if ip in banlist: print("Specified IP is banned, killing now.") reason = banlist[ip]