Update server.py
All checks were successful
/ check (push) Successful in 13s

This commit is contained in:
Nova Cat 2025-01-25 22:29:11 -08:00
parent f30308351f
commit 684554bb4f

View file

@ -36,7 +36,7 @@ def getident(hostt:str, clientport:int, ssll:bool):
return {"success": False, "response": f"Could not connect to your ident server: {ex}"}
serverport = "6697" if ssll else "6667"
try:
identsender.sendall(bytes(f"{serverport}, {clientport}\r\n", "UTF-8"))
identsender.sendall(bytes(f"{clientport}, {serverport}\r\n", "UTF-8"))
responsee = identsender.recv(2048).decode()
print(responsee)
except Exception as ex: