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"]: