From 8f2d6e70d3c6d304768dedfb745444990b13bcc6 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 25 Jan 2025 21:35:21 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 60f03ed..a6a55b1 100644 --- a/server.py +++ b/server.py @@ -250,7 +250,7 @@ def session(connection, client, ip, isssl=False): hostname = client[0] connection.sendall(bytes(f":{server} NOTICE * :*** Oof! Can't find your hostname, using IP...\r\n","UTF-8")) try: - identQuery = getident(client[0], client[1], isssl) + identQuery = getident(hostname, client[1], isssl) responseee = identQuery["response"] print(identQuery) if not identQuery["success"]: