From ae766b5b1cd7662b3eda15a08af81e18add4398c Mon Sep 17 00:00:00 2001
From: swee <meow@swee.codes>
Date: Wed, 5 Feb 2025 19:20:57 -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 333e1c5..1b035ba 100644
--- a/server.py
+++ b/server.py
@@ -285,7 +285,7 @@ def session(connection, client, ip, isssl=False):
             hostname = client[0]
             dosend(bytes(f":{server} NOTICE * :*** Oof! Can't find your hostname, using IP...\r\n","UTF-8"))
         try:
-            identQuery = getident(hostname, client[1], isssl)
+            identQuery = getident(client[0], client[1], isssl)
             responseee = identQuery["response"]
             print(identQuery)
             if not identQuery["success"]: