This commit is contained in:
parent
f30308351f
commit
684554bb4f
1 changed files with 1 additions and 1 deletions
|
@ -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}"}
|
return {"success": False, "response": f"Could not connect to your ident server: {ex}"}
|
||||||
serverport = "6697" if ssll else "6667"
|
serverport = "6697" if ssll else "6667"
|
||||||
try:
|
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()
|
responsee = identsender.recv(2048).decode()
|
||||||
print(responsee)
|
print(responsee)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
|
Loading…
Add table
Reference in a new issue