From 3fbc0bfa0bbd9600c0d035f3023dfb79fee297de Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 25 Jan 2025 22:46:41 -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 5681cbb..c035bcd 100644 --- a/server.py +++ b/server.py @@ -52,7 +52,7 @@ def getident(hostt:str, clientport:int, ssll:bool): print(responsee.split(",")[0]) print(responsee.split(",")[1].split(":")[0]) - if responsee.split(",")[0] != str({clientport}): + if responsee.split(",")[0] != str(clientport): return {"success": False, "response": "The ident server sent an invalid client port."} elif responsee.split(",")[1].split(":")[0] != serverport: return {"success": False, "response": "The ident server doesn't know what the server port is."}