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

This commit is contained in:
Nova Cat 2025-01-25 22:46:41 -08:00
parent eab9300695
commit 3fbc0bfa0b

View file

@ -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."}