From 684554bb4fa95799ff015afbcfbb1e3f06908ea7 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 25 Jan 2025 22:29:11 -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 9cd9b9f..794b087 100644 --- a/server.py +++ b/server.py @@ -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: