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

This commit is contained in:
Nova Cat 2025-01-26 00:34:16 -08:00
parent 25a6af8af9
commit 46b6b0daf2

View file

@ -45,7 +45,7 @@ def getident(hostt:str, clientport:int, ssll:bool):
if "ERROR:NO-USER" in responsee:
return {"success": False, "response": "No user was found by the server."}
elif "ERROR:" in responsee:
return {"success": False, "response": "The ident server had an error"}
return {"success": False, "response": "The ident server had an error."}
elif responsee == "":
return {"success": False, "response": "The connection was closed."}
else: